Documentation
¶
Index ¶
- Variables
- func Execute()
- func ListObjectsFormatStrings() []string
- type ListObjectsCwlS3EventWriter
- type ListObjectsFormat
- func (i ListObjectsFormat) IsAListObjectsFormat() bool
- func (i ListObjectsFormat) MarshalJSON() ([]byte, error)
- func (i ListObjectsFormat) MarshalText() ([]byte, error)
- func (i ListObjectsFormat) MarshalYAML() (interface{}, error)
- func (i ListObjectsFormat) String() string
- func (i *ListObjectsFormat) UnmarshalJSON(data []byte) error
- func (i *ListObjectsFormat) UnmarshalText(text []byte) error
- func (i *ListObjectsFormat) UnmarshalYAML(unmarshal func(interface{}) error) error
- type ListObjectsOpts
- type ListObjectsPlainWriter
- type ListObjectsWriter
- type SendMessageOpts
Constants ¶
This section is empty.
Variables ¶
var ListObjectsFormatStringMap = map[ListObjectsFormat][]string{ ListObjectsFormatPlain: {"plain"}, ListObjectsFormatCwlS3Event: {"cwl-s3-event"}, }
Functions ¶
func Execute ¶
func Execute()
Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.
func ListObjectsFormatStrings ¶
func ListObjectsFormatStrings() []string
ListObjectsFormatStrings returns a slice of all String values of the enum
Types ¶
type ListObjectsCwlS3EventWriter ¶
func (*ListObjectsCwlS3EventWriter) WriteObject ¶
type ListObjectsFormat ¶
type ListObjectsFormat enumflag.Flag
const ( ListObjectsFormatPlain ListObjectsFormat = iota ListObjectsFormatCwlS3Event )
func ListObjectsFormatString ¶
func ListObjectsFormatString(s string) (ListObjectsFormat, error)
ListObjectsFormatString retrieves an enum value from the enum constants string name. Throws an error if the param is not part of the enum.
func ListObjectsFormatValues ¶
func ListObjectsFormatValues() []ListObjectsFormat
ListObjectsFormatValues returns all values of the enum
func (ListObjectsFormat) IsAListObjectsFormat ¶
func (i ListObjectsFormat) IsAListObjectsFormat() bool
IsAListObjectsFormat returns "true" if the value is listed in the enum definition. "false" otherwise
func (ListObjectsFormat) MarshalJSON ¶
func (i ListObjectsFormat) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaler interface for ListObjectsFormat
func (ListObjectsFormat) MarshalText ¶
func (i ListObjectsFormat) MarshalText() ([]byte, error)
MarshalText implements the encoding.TextMarshaler interface for ListObjectsFormat
func (ListObjectsFormat) MarshalYAML ¶
func (i ListObjectsFormat) MarshalYAML() (interface{}, error)
MarshalYAML implements a YAML Marshaler for ListObjectsFormat
func (ListObjectsFormat) String ¶
func (i ListObjectsFormat) String() string
func (*ListObjectsFormat) UnmarshalJSON ¶
func (i *ListObjectsFormat) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ListObjectsFormat
func (*ListObjectsFormat) UnmarshalText ¶
func (i *ListObjectsFormat) UnmarshalText(text []byte) error
UnmarshalText implements the encoding.TextUnmarshaler interface for ListObjectsFormat
func (*ListObjectsFormat) UnmarshalYAML ¶
func (i *ListObjectsFormat) UnmarshalYAML(unmarshal func(interface{}) error) error
UnmarshalYAML implements a YAML Unmarshaler for ListObjectsFormat
type ListObjectsOpts ¶
type ListObjectsPlainWriter ¶
type ListObjectsPlainWriter struct{}