Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type GenerateOptions ¶
type GenerateOptions struct { ProtoSourcePath string ServiceName string APIVersion string ConfigFilePath string }
func (*GenerateOptions) BindPersistentFlags ¶
func (o *GenerateOptions) BindPersistentFlags(cmd *cobra.Command)
func (*GenerateOptions) InitDefaults ¶
func (o *GenerateOptions) InitDefaults() error
type Resource ¶
func (*Resource) ProtoMessageFullName ¶
ProtoMessageFullName returns the fully-qualified proto resource name, adding the package if it is not already fully qualified. e.g. Foo => google.cloud.v1.Foo
func (*Resource) ProtoMessageName ¶
ProtoMessageName returns just the last component of the the proto name, even if it is fully qualified. e.g. google.cloud.v1.Foo => Foo
type ResourceList ¶
type ResourceList []Resource
func (*ResourceList) Set ¶
func (r *ResourceList) Set(s string) error
func (*ResourceList) String ¶
func (r *ResourceList) String() string
func (*ResourceList) Type ¶
func (r *ResourceList) Type() string
Click to show internal directories.
Click to hide internal directories.