Documentation
¶
Index ¶
Constants ¶
View Source
const (
MaxGRPCMessageSize = 1 << 20 // 100mb
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface {
NewVerionClient() version.VersionServiceClient
NewRegistryClient() registry.RegistryServiceClient
}
type ClientOptions ¶
type ClientOptions struct {
// Host refers to the address of the template-hub
Host string
}
ClientOptions options for creating a template-hub api client
func AddFlags ¶
func AddFlags(cmd *cobra.Command) *ClientOptions
func (*ClientOptions) InitializePreCommand ¶
Click to show internal directories.
Click to hide internal directories.