raw

package
v0.26.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 24, 2025 License: Apache-2.0 Imports: 4 Imported by: 4

Documentation

Overview

Package raw provides the defined raw types for Vela.

Deprecated: all raw types for Vela have been moved to github.com/go-vela/server/compiler/types/raw .

This package is frozen.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StringSlice deprecated

type StringSlice []string

StringSlice represents a string or an array of strings.

Deprecated: use StringSlice from github.com/go-vela/server/compiler/types/raw instead.

func (*StringSlice) UnmarshalJSON

func (s *StringSlice) UnmarshalJSON(b []byte) error

UnmarshalJSON implements the Unmarshaler interface for the StringSlice type.

func (*StringSlice) UnmarshalYAML

func (s *StringSlice) UnmarshalYAML(unmarshal func(interface{}) error) error

UnmarshalYAML implements the Unmarshaler interface for the StringSlice type.

type StringSliceMap deprecated

type StringSliceMap map[string]string

StringSliceMap represents an array of strings or a map of strings.

Deprecated: use StringSliceMap from github.com/go-vela/server/compiler/types/raw instead.

func (*StringSliceMap) Scan added in v0.7.0

func (s *StringSliceMap) Scan(value interface{}) error

Scan decodes the JSON string into map[string]string.

func (*StringSliceMap) UnmarshalJSON

func (s *StringSliceMap) UnmarshalJSON(b []byte) error

UnmarshalJSON implements the Unmarshaler interface for the StringSlice type.

func (*StringSliceMap) UnmarshalYAML

func (s *StringSliceMap) UnmarshalYAML(unmarshal func(interface{}) error) error

UnmarshalYAML implements the Unmarshaler interface for the StringSliceMap type.

func (StringSliceMap) Value added in v0.7.0

func (s StringSliceMap) Value() (driver.Value, error)

Value returns the map in JSON format.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL