raw

package
v0.2.0-rc3 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2019 License: Apache-2.0 Imports: 3 Imported by: 15

Documentation

Overview

Package raw provides the defined raw types for Vela.

Usage:

import "github.com/go-vela/types/raw"

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StringSlice

type StringSlice []string

StringSlice represents a string or an array of strings.

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

type StringSliceMap map[string]string

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

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.

Jump to

Keyboard shortcuts

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