Documentation
¶
Index ¶
- Constants
- func NewAllocatedTrafficPercentValue(svc *v1alpha1.Service, rev v1alpha1.Revision) uitable.Value
- func NewAnnotateCmd() *cobra.Command
- func NewAnnotateRevisionCmd(o *AnnotateRevisionOptions) *cobra.Command
- func NewAnnotateServiceCmd(o *AnnotateServiceOptions) *cobra.Command
- func NewAnnotationsValue(anns map[string]string) uitable.Value
- func NewBuildCmd(o *BuildOptions) *cobra.Command
- func NewCreateBasicAuthSecretCmd(o *CreateBasicAuthSecretOptions) *cobra.Command
- func NewCreateCmd() *cobra.Command
- func NewCreateDomainCmd(o *CreateDomainOptions) *cobra.Command
- func NewCreateNamespaceCmd(o *CreateNamespaceOptions) *cobra.Command
- func NewCreateSSHAuthSecretCmd(o *CreateSSHAuthSecretOptions) *cobra.Command
- func NewCreateServiceAccountCmd(o *CreateServiceAccountOptions) *cobra.Command
- func NewCurlCmd(o *CurlOptions) *cobra.Command
- func NewDeleteBuildCmd(o *DeleteBuildOptions) *cobra.Command
- func NewDeleteCmd() *cobra.Command
- func NewDeleteRevisionCmd(o *DeleteRevisionOptions) *cobra.Command
- func NewDeleteRouteCmd(o *DeleteRouteOptions) *cobra.Command
- func NewDeleteServiceCmd(o *DeleteServiceOptions) *cobra.Command
- func NewDeployCmd(o *DeployOptions) *cobra.Command
- func NewInstallCmd(o *InstallOptions) *cobra.Command
- func NewKnctlCmd(o *KnctlOptions) *cobra.Command
- func NewListBuildsCmd(o *ListBuildsOptions) *cobra.Command
- func NewListCmd() *cobra.Command
- func NewListDomainsCmd(o *ListDomainsOptions) *cobra.Command
- func NewListIngressesCmd(o *ListIngressesOptions) *cobra.Command
- func NewListPodsCmd(o *ListPodsOptions) *cobra.Command
- func NewListRevisionsCmd(o *ListRevisionsOptions) *cobra.Command
- func NewListRoutesCmd(o *ListRoutesOptions) *cobra.Command
- func NewListServicesCmd(o *ListServicesOptions) *cobra.Command
- func NewLogsCmd(o *LogsOptions) *cobra.Command
- func NewOpenCmd(o *OpenOptions) *cobra.Command
- func NewRouteCmd(o *RouteOptions) *cobra.Command
- func NewTagCmd() *cobra.Command
- func NewTagRevisionCmd(o *TagRevisionOptions) *cobra.Command
- func NewUntagCmd() *cobra.Command
- func NewUntagRevisionCmd(o *UntagRevisionOptions) *cobra.Command
- func NewVersionCmd(o *VersionOptions) *cobra.Command
- func ShowHelp(cmd *cobra.Command, args []string) error
- func ShowSubcommands(cmd *cobra.Command, args []string) error
- func VisitCommands(cmd *cobra.Command, f func(*cobra.Command))
- type AnnotateFlags
- type AnnotateRevisionOptions
- type AnnotateServiceOptions
- type BasicAuthSecretCreateFlags
- type BuildCreateFlags
- type BuildCreateFlagsOpts
- type BuildFlags
- type BuildOptions
- type CancelSignals
- type CreateBasicAuthSecretOptions
- type CreateDomainOptions
- type CreateNamespaceOptions
- type CreateSSHAuthSecretOptions
- type CreateServiceAccountOptions
- type CurlOptions
- type DeleteBuildOptions
- type DeleteRevisionOptions
- type DeleteRouteOptions
- type DeleteServiceOptions
- type DeployFlags
- type DeployOptions
- type DepsFactory
- type DepsFactoryImpl
- type Domain
- type Domains
- type IngressServices
- type InstallOptions
- type InstallationComponent
- type Istio
- type KnctlOptions
- type KubeconfigFlags
- type ListBuildsOptions
- type ListDomainsOptions
- type ListIngressesOptions
- type ListPodsOptions
- type ListRevisionsOptions
- type ListRoutesOptions
- type ListServicesOptions
- type LogsOptions
- type NamespaceFlags
- type NamespaceReadiness
- type OpenOptions
- type PodReadiness
- type RevisionFlags
- type RevisionPodWatcher
- type RevisionReference
- type RouteFlags
- type RouteOptions
- type SSHAuthSecretCreateFlags
- type SecretFlags
- type ServiceAccountCreateFlags
- type ServiceAccountFlags
- type ServiceFlags
- type ServiceSpec
- type TagFlags
- type TagRevisionOptions
- type TrafficFlags
- type UIFlags
- type UntagRevisionOptions
- type ValueAge
- type ValueUnknownBool
- type VersionOptions
Constants ¶
View Source
const (
Version = "0.0.2"
)
Variables ¶
This section is empty.
Functions ¶
func NewAnnotateCmd ¶
func NewAnnotateRevisionCmd ¶
func NewAnnotateRevisionCmd(o *AnnotateRevisionOptions) *cobra.Command
func NewAnnotateServiceCmd ¶
func NewAnnotateServiceCmd(o *AnnotateServiceOptions) *cobra.Command
func NewBuildCmd ¶
func NewBuildCmd(o *BuildOptions) *cobra.Command
func NewCreateBasicAuthSecretCmd ¶
func NewCreateBasicAuthSecretCmd(o *CreateBasicAuthSecretOptions) *cobra.Command
func NewCreateCmd ¶
func NewCreateDomainCmd ¶ added in v0.0.2
func NewCreateDomainCmd(o *CreateDomainOptions) *cobra.Command
func NewCreateNamespaceCmd ¶
func NewCreateNamespaceCmd(o *CreateNamespaceOptions) *cobra.Command
func NewCreateSSHAuthSecretCmd ¶
func NewCreateSSHAuthSecretCmd(o *CreateSSHAuthSecretOptions) *cobra.Command
func NewCreateServiceAccountCmd ¶
func NewCreateServiceAccountCmd(o *CreateServiceAccountOptions) *cobra.Command
func NewCurlCmd ¶
func NewCurlCmd(o *CurlOptions) *cobra.Command
func NewDeleteBuildCmd ¶
func NewDeleteBuildCmd(o *DeleteBuildOptions) *cobra.Command
func NewDeleteCmd ¶
func NewDeleteRevisionCmd ¶
func NewDeleteRevisionCmd(o *DeleteRevisionOptions) *cobra.Command
func NewDeleteRouteCmd ¶
func NewDeleteRouteCmd(o *DeleteRouteOptions) *cobra.Command
func NewDeleteServiceCmd ¶
func NewDeleteServiceCmd(o *DeleteServiceOptions) *cobra.Command
func NewDeployCmd ¶
func NewDeployCmd(o *DeployOptions) *cobra.Command
func NewInstallCmd ¶
func NewInstallCmd(o *InstallOptions) *cobra.Command
func NewKnctlCmd ¶
func NewKnctlCmd(o *KnctlOptions) *cobra.Command
func NewListBuildsCmd ¶
func NewListBuildsCmd(o *ListBuildsOptions) *cobra.Command
func NewListCmd ¶
func NewListDomainsCmd ¶ added in v0.0.2
func NewListDomainsCmd(o *ListDomainsOptions) *cobra.Command
func NewListIngressesCmd ¶
func NewListIngressesCmd(o *ListIngressesOptions) *cobra.Command
func NewListPodsCmd ¶
func NewListPodsCmd(o *ListPodsOptions) *cobra.Command
func NewListRevisionsCmd ¶
func NewListRevisionsCmd(o *ListRevisionsOptions) *cobra.Command
func NewListRoutesCmd ¶
func NewListRoutesCmd(o *ListRoutesOptions) *cobra.Command
func NewListServicesCmd ¶
func NewListServicesCmd(o *ListServicesOptions) *cobra.Command
func NewLogsCmd ¶
func NewLogsCmd(o *LogsOptions) *cobra.Command
func NewOpenCmd ¶
func NewOpenCmd(o *OpenOptions) *cobra.Command
func NewRouteCmd ¶
func NewRouteCmd(o *RouteOptions) *cobra.Command
func NewTagRevisionCmd ¶
func NewTagRevisionCmd(o *TagRevisionOptions) *cobra.Command
func NewUntagCmd ¶
func NewUntagRevisionCmd ¶
func NewUntagRevisionCmd(o *UntagRevisionOptions) *cobra.Command
func NewVersionCmd ¶
func NewVersionCmd(o *VersionOptions) *cobra.Command
func ShowSubcommands ¶ added in v0.0.2
Types ¶
type AnnotateFlags ¶
type AnnotateFlags struct {
Annotations []string
}
func (*AnnotateFlags) Set ¶
func (s *AnnotateFlags) Set(cmd *cobra.Command)
type AnnotateRevisionOptions ¶
type AnnotateRevisionOptions struct {
RevisionFlags RevisionFlags
AnnotateFlags AnnotateFlags
// contains filtered or unexported fields
}
func NewAnnotateRevisionOptions ¶
func NewAnnotateRevisionOptions(ui ui.UI, depsFactory DepsFactory) *AnnotateRevisionOptions
func (*AnnotateRevisionOptions) Run ¶
func (o *AnnotateRevisionOptions) Run() error
type AnnotateServiceOptions ¶
type AnnotateServiceOptions struct {
ServiceFlags ServiceFlags
AnnotateFlags AnnotateFlags
// contains filtered or unexported fields
}
func NewAnnotateServiceOptions ¶
func NewAnnotateServiceOptions(ui ui.UI, depsFactory DepsFactory) *AnnotateServiceOptions
func (*AnnotateServiceOptions) Run ¶
func (o *AnnotateServiceOptions) Run() error
type BasicAuthSecretCreateFlags ¶
type BasicAuthSecretCreateFlags struct {
Type string
URL string
Username string
Password string
DockerHub bool
GCR bool
}
func (*BasicAuthSecretCreateFlags) BackfillTypeAndURL ¶
func (s *BasicAuthSecretCreateFlags) BackfillTypeAndURL() error
func (*BasicAuthSecretCreateFlags) Set ¶
func (s *BasicAuthSecretCreateFlags) Set(cmd *cobra.Command)
type BuildCreateFlags ¶
type BuildCreateFlags struct {
ctlbuild.BuildSpecOpts
}
func (*BuildCreateFlags) Set ¶
func (s *BuildCreateFlags) Set(cmd *cobra.Command, opts BuildCreateFlagsOpts)
type BuildCreateFlagsOpts ¶
type BuildFlags ¶
type BuildFlags struct {
NamespaceFlags NamespaceFlags
Name string
}
func (*BuildFlags) Set ¶
func (s *BuildFlags) Set(cmd *cobra.Command)
type BuildOptions ¶
type BuildOptions struct {
BuildFlags BuildFlags
BuildCreateFlags BuildCreateFlags
// contains filtered or unexported fields
}
func NewBuildOptions ¶
func NewBuildOptions(ui ui.UI, depsFactory DepsFactory, cancelSignals CancelSignals) *BuildOptions
func (*BuildOptions) Run ¶
func (o *BuildOptions) Run() error
type CancelSignals ¶
type CancelSignals struct{}
func (CancelSignals) Watch ¶
func (CancelSignals) Watch(stopFunc func())
type CreateBasicAuthSecretOptions ¶
type CreateBasicAuthSecretOptions struct {
SecretFlags SecretFlags
BasicAuthSecretCreateFlags BasicAuthSecretCreateFlags
// contains filtered or unexported fields
}
func NewCreateBasicAuthSecretOptions ¶
func NewCreateBasicAuthSecretOptions(ui ui.UI, depsFactory DepsFactory) *CreateBasicAuthSecretOptions
func (*CreateBasicAuthSecretOptions) Run ¶
func (o *CreateBasicAuthSecretOptions) Run() error
type CreateDomainOptions ¶ added in v0.0.2
type CreateDomainOptions struct {
Domain string
Default bool
// contains filtered or unexported fields
}
func NewCreateDomainOptions ¶ added in v0.0.2
func NewCreateDomainOptions(ui ui.UI, depsFactory DepsFactory) *CreateDomainOptions
func (*CreateDomainOptions) Run ¶ added in v0.0.2
func (o *CreateDomainOptions) Run() error
type CreateNamespaceOptions ¶
type CreateNamespaceOptions struct {
NamespaceFlags NamespaceFlags
// contains filtered or unexported fields
}
func NewCreateNamespaceOptions ¶
func NewCreateNamespaceOptions(ui ui.UI, depsFactory DepsFactory) *CreateNamespaceOptions
func (*CreateNamespaceOptions) Run ¶
func (o *CreateNamespaceOptions) Run() error
type CreateSSHAuthSecretOptions ¶
type CreateSSHAuthSecretOptions struct {
SecretFlags SecretFlags
SSHAuthSecretCreateFlags SSHAuthSecretCreateFlags
// contains filtered or unexported fields
}
func NewCreateSSHAuthSecretOptions ¶
func NewCreateSSHAuthSecretOptions(ui ui.UI, depsFactory DepsFactory) *CreateSSHAuthSecretOptions
func (*CreateSSHAuthSecretOptions) Run ¶
func (o *CreateSSHAuthSecretOptions) Run() error
type CreateServiceAccountOptions ¶
type CreateServiceAccountOptions struct {
ServiceAccountFlags ServiceAccountFlags
ServiceAccountCreateFlags ServiceAccountCreateFlags
// contains filtered or unexported fields
}
func NewCreateServiceAccountOptions ¶
func NewCreateServiceAccountOptions(ui ui.UI, depsFactory DepsFactory) *CreateServiceAccountOptions
func (*CreateServiceAccountOptions) Run ¶
func (o *CreateServiceAccountOptions) Run() error
type CurlOptions ¶
type CurlOptions struct {
ServiceFlags ServiceFlags
// contains filtered or unexported fields
}
func NewCurlOptions ¶
func NewCurlOptions(ui ui.UI, depsFactory DepsFactory) *CurlOptions
func (*CurlOptions) Run ¶
func (o *CurlOptions) Run() error
type DeleteBuildOptions ¶
type DeleteBuildOptions struct {
BuildFlags BuildFlags
// contains filtered or unexported fields
}
func NewDeleteBuildOptions ¶
func NewDeleteBuildOptions(ui ui.UI, depsFactory DepsFactory) *DeleteBuildOptions
func (*DeleteBuildOptions) Run ¶
func (o *DeleteBuildOptions) Run() error
type DeleteRevisionOptions ¶
type DeleteRevisionOptions struct {
RevisionFlags RevisionFlags
// contains filtered or unexported fields
}
func NewDeleteRevisionOptions ¶
func NewDeleteRevisionOptions(ui ui.UI, depsFactory DepsFactory) *DeleteRevisionOptions
func (*DeleteRevisionOptions) Run ¶
func (o *DeleteRevisionOptions) Run() error
type DeleteRouteOptions ¶
type DeleteRouteOptions struct {
RouteFlags RouteFlags
// contains filtered or unexported fields
}
func NewDeleteRouteOptions ¶
func NewDeleteRouteOptions(ui ui.UI, depsFactory DepsFactory) *DeleteRouteOptions
func (*DeleteRouteOptions) Run ¶
func (o *DeleteRouteOptions) Run() error
type DeleteServiceOptions ¶
type DeleteServiceOptions struct {
ServiceFlags ServiceFlags
// contains filtered or unexported fields
}
func NewDeleteServiceOptions ¶
func NewDeleteServiceOptions(ui ui.UI, depsFactory DepsFactory) *DeleteServiceOptions
func (*DeleteServiceOptions) Run ¶
func (o *DeleteServiceOptions) Run() error
type DeployFlags ¶
type DeployFlags struct {
BuildCreateFlags BuildCreateFlags
Image string
Env []string
}
func (*DeployFlags) Set ¶
func (s *DeployFlags) Set(cmd *cobra.Command)
type DeployOptions ¶
type DeployOptions struct {
ServiceFlags ServiceFlags
DeployFlags DeployFlags
// contains filtered or unexported fields
}
func NewDeployOptions ¶
func NewDeployOptions(ui ui.UI, depsFactory DepsFactory) *DeployOptions
func (*DeployOptions) Run ¶
func (o *DeployOptions) Run() error
type DepsFactory ¶
type DepsFactory interface {
ConfigureConfigPath(string)
ServingClient() (servingclientset.Interface, error)
BuildClient() (buildclientset.Interface, error)
CoreClient() (kubernetes.Interface, error)
}
type DepsFactoryImpl ¶
type DepsFactoryImpl struct {
// contains filtered or unexported fields
}
func NewDepsFactoryImpl ¶
func NewDepsFactoryImpl() *DepsFactoryImpl
func (*DepsFactoryImpl) BuildClient ¶
func (f *DepsFactoryImpl) BuildClient() (buildclientset.Interface, error)
func (*DepsFactoryImpl) ConfigureConfigPath ¶
func (f *DepsFactoryImpl) ConfigureConfigPath(path string)
func (*DepsFactoryImpl) CoreClient ¶
func (f *DepsFactoryImpl) CoreClient() (kubernetes.Interface, error)
func (*DepsFactoryImpl) ServingClient ¶
func (f *DepsFactoryImpl) ServingClient() (servingclientset.Interface, error)
type Domains ¶ added in v0.0.2
type Domains struct {
// contains filtered or unexported fields
}
func NewDomains ¶ added in v0.0.2
func NewDomains(coreClient kubernetes.Interface) Domains
type IngressServices ¶
type IngressServices struct {
// contains filtered or unexported fields
}
func (IngressServices) List ¶
func (s IngressServices) List() (*corev1.ServiceList, error)
type InstallOptions ¶
type InstallOptions struct {
ExcludeMonitoring bool
// contains filtered or unexported fields
}
func NewInstallOptions ¶
func NewInstallOptions(ui ui.UI, depsFactory DepsFactory, kubeconfigFlags *KubeconfigFlags) *InstallOptions
func (*InstallOptions) Run ¶
func (o *InstallOptions) Run() error
type InstallationComponent ¶
type InstallationComponent struct {
Name string
URL string
// contains filtered or unexported fields
}
func (InstallationComponent) Install ¶
func (c InstallationComponent) Install() error
func (InstallationComponent) Monitor ¶
func (c InstallationComponent) Monitor() error
type Istio ¶
type Istio struct {
// contains filtered or unexported fields
}
func NewIstio ¶
func NewIstio(coreClient kubernetes.Interface) Istio
func (Istio) EnableNamespace ¶
func (Istio) ExpectNamespaceToBeEnabled ¶
func (Istio) SystemNamespaceName ¶
type KnctlOptions ¶
type KnctlOptions struct {
UIFlags UIFlags
KubeconfigFlags KubeconfigFlags
// contains filtered or unexported fields
}
func NewDefaultKnctlOptions ¶
func NewDefaultKnctlOptions(ui *ui.ConfUI) *KnctlOptions
func NewKnctlOptions ¶
func NewKnctlOptions(ui *ui.ConfUI, depsFactory DepsFactory) *KnctlOptions
type KubeconfigFlags ¶
type KubeconfigFlags struct {
Path string
}
func (*KubeconfigFlags) Set ¶
func (f *KubeconfigFlags) Set(cmd *cobra.Command)
type ListBuildsOptions ¶
type ListBuildsOptions struct {
NamespaceFlags NamespaceFlags
// contains filtered or unexported fields
}
func NewListBuildsOptions ¶
func NewListBuildsOptions(ui ui.UI, depsFactory DepsFactory) *ListBuildsOptions
func (*ListBuildsOptions) Run ¶
func (o *ListBuildsOptions) Run() error
type ListDomainsOptions ¶ added in v0.0.2
type ListDomainsOptions struct {
// contains filtered or unexported fields
}
func NewListDomainsOptions ¶ added in v0.0.2
func NewListDomainsOptions(ui ui.UI, depsFactory DepsFactory) *ListDomainsOptions
func (*ListDomainsOptions) Run ¶ added in v0.0.2
func (o *ListDomainsOptions) Run() error
type ListIngressesOptions ¶
type ListIngressesOptions struct {
// contains filtered or unexported fields
}
func NewListIngressesOptions ¶
func NewListIngressesOptions(ui ui.UI, depsFactory DepsFactory) *ListIngressesOptions
func (*ListIngressesOptions) Run ¶
func (o *ListIngressesOptions) Run() error
type ListPodsOptions ¶
type ListPodsOptions struct {
ServiceFlags ServiceFlags
// contains filtered or unexported fields
}
func NewListPodsOptions ¶
func NewListPodsOptions(ui ui.UI, depsFactory DepsFactory) *ListPodsOptions
func (*ListPodsOptions) Run ¶
func (o *ListPodsOptions) Run() error
type ListRevisionsOptions ¶
type ListRevisionsOptions struct {
ServiceFlags ServiceFlags
// contains filtered or unexported fields
}
func NewListRevisionsOptions ¶
func NewListRevisionsOptions(ui ui.UI, depsFactory DepsFactory) *ListRevisionsOptions
func (*ListRevisionsOptions) Run ¶
func (o *ListRevisionsOptions) Run() error
type ListRoutesOptions ¶
type ListRoutesOptions struct {
NamespaceFlags NamespaceFlags
// contains filtered or unexported fields
}
func NewListRoutesOptions ¶
func NewListRoutesOptions(ui ui.UI, depsFactory DepsFactory) *ListRoutesOptions
func (*ListRoutesOptions) Run ¶
func (o *ListRoutesOptions) Run() error
type ListServicesOptions ¶
type ListServicesOptions struct {
NamespaceFlags NamespaceFlags
// contains filtered or unexported fields
}
func NewListServicesOptions ¶
func NewListServicesOptions(ui ui.UI, depsFactory DepsFactory) *ListServicesOptions
func (*ListServicesOptions) Run ¶
func (o *ListServicesOptions) Run() error
type LogsOptions ¶
type LogsOptions struct {
ServiceFlags ServiceFlags
Follow bool
Lines int64
// contains filtered or unexported fields
}
func NewLogsOptions ¶
func NewLogsOptions(ui ui.UI, depsFactory DepsFactory, cancelSignals CancelSignals) *LogsOptions
func (*LogsOptions) Run ¶
func (o *LogsOptions) Run() error
type NamespaceFlags ¶
type NamespaceFlags struct {
Name string
}
func (*NamespaceFlags) Set ¶
func (s *NamespaceFlags) Set(cmd *cobra.Command)
type NamespaceReadiness ¶
type NamespaceReadiness struct {
Namespace string
// contains filtered or unexported fields
}
func (NamespaceReadiness) Monitor ¶
func (n NamespaceReadiness) Monitor() error
type OpenOptions ¶
type OpenOptions struct {
ServiceFlags ServiceFlags
// contains filtered or unexported fields
}
func NewOpenOptions ¶
func NewOpenOptions(ui ui.UI, depsFactory DepsFactory) *OpenOptions
func (*OpenOptions) Run ¶
func (o *OpenOptions) Run() error
type PodReadiness ¶
func (PodReadiness) IsRunningOrComplete ¶
func (p PodReadiness) IsRunningOrComplete() bool
type RevisionFlags ¶
type RevisionFlags struct {
NamespaceFlags NamespaceFlags
Name string
}
func (*RevisionFlags) Set ¶
func (s *RevisionFlags) Set(cmd *cobra.Command)
type RevisionPodWatcher ¶
type RevisionPodWatcher struct {
// contains filtered or unexported fields
}
func NewRevisionPodWatcher ¶
func NewRevisionPodWatcher( serviceNamespace string, serviceName string, servingClient servingclientset.Interface, coreClient kubernetes.Interface, ui ui.UI, ) RevisionPodWatcher
type RevisionReference ¶
type RevisionReference struct {
// contains filtered or unexported fields
}
func NewRevisionReference ¶
func NewRevisionReference(flags RevisionFlags, tags ctlservice.Tags, servingClient servingclientset.Interface) RevisionReference
type RouteFlags ¶
type RouteFlags struct {
NamespaceFlags NamespaceFlags
Name string
}
func (*RouteFlags) Set ¶
func (s *RouteFlags) Set(cmd *cobra.Command)
type RouteOptions ¶
type RouteOptions struct {
RouteFlags RouteFlags
TrafficFlags TrafficFlags
// contains filtered or unexported fields
}
func NewRouteOptions ¶
func NewRouteOptions(ui ui.UI, depsFactory DepsFactory) *RouteOptions
func (*RouteOptions) Run ¶
func (o *RouteOptions) Run() error
type SSHAuthSecretCreateFlags ¶
func (*SSHAuthSecretCreateFlags) Set ¶
func (s *SSHAuthSecretCreateFlags) Set(cmd *cobra.Command)
type SecretFlags ¶
type SecretFlags struct {
NamespaceFlags NamespaceFlags
Name string
}
func (*SecretFlags) Set ¶
func (s *SecretFlags) Set(cmd *cobra.Command)
type ServiceAccountCreateFlags ¶
func (*ServiceAccountCreateFlags) Set ¶
func (s *ServiceAccountCreateFlags) Set(cmd *cobra.Command)
type ServiceAccountFlags ¶
type ServiceAccountFlags struct {
NamespaceFlags NamespaceFlags
Name string
}
func (*ServiceAccountFlags) Set ¶
func (s *ServiceAccountFlags) Set(cmd *cobra.Command)
type ServiceFlags ¶
type ServiceFlags struct {
NamespaceFlags NamespaceFlags
Name string
}
func (*ServiceFlags) Set ¶
func (s *ServiceFlags) Set(cmd *cobra.Command)
type ServiceSpec ¶
type ServiceSpec struct{}
func (ServiceSpec) Build ¶
func (ServiceSpec) Build(serviceFlags ServiceFlags, deployFlags DeployFlags) (v1alpha1.Service, error)
type TagRevisionOptions ¶
type TagRevisionOptions struct {
RevisionFlags RevisionFlags
TagFlags TagFlags
// contains filtered or unexported fields
}
func NewTagRevisionOptions ¶
func NewTagRevisionOptions(ui ui.UI, depsFactory DepsFactory) *TagRevisionOptions
func (*TagRevisionOptions) Run ¶
func (o *TagRevisionOptions) Run() error
type TrafficFlags ¶
type TrafficFlags struct {
Percentages []string
}
func (*TrafficFlags) Set ¶
func (s *TrafficFlags) Set(cmd *cobra.Command)
type UIFlags ¶
func (*UIFlags) ConfigureUI ¶
type UntagRevisionOptions ¶
type UntagRevisionOptions struct {
RevisionFlags RevisionFlags
TagFlags TagFlags
// contains filtered or unexported fields
}
func NewUntagRevisionOptions ¶
func NewUntagRevisionOptions(ui ui.UI, depsFactory DepsFactory) *UntagRevisionOptions
func (*UntagRevisionOptions) Run ¶
func (o *UntagRevisionOptions) Run() error
type ValueAge ¶ added in v0.0.2
func NewValueAge ¶ added in v0.0.2
type ValueUnknownBool ¶
type ValueUnknownBool struct {
B *bool
}
func NewValueUnknownBool ¶
func NewValueUnknownBool(b *bool) ValueUnknownBool
func (ValueUnknownBool) String ¶
func (t ValueUnknownBool) String() string
func (ValueUnknownBool) Value ¶
func (t ValueUnknownBool) Value() uitable.Value
type VersionOptions ¶
type VersionOptions struct {
// contains filtered or unexported fields
}
func NewVersionOptions ¶
func NewVersionOptions(ui ui.UI) *VersionOptions
func (*VersionOptions) Run ¶
func (o *VersionOptions) Run() error
Source Files
¶
- age_value.go
- aliases.go
- annotate.go
- annotate_flags.go
- annotate_revision.go
- annotate_service.go
- basic_auth_secret_create_flags.go
- build.go
- build_create_flags.go
- build_flags.go
- cancel_signals.go
- create.go
- create_basic_auth_secret.go
- create_domain.go
- create_namespace.go
- create_service_account.go
- create_ssh_auth_secret.go
- curl.go
- delete.go
- delete_build.go
- delete_revision.go
- delete_route.go
- delete_service.go
- deploy.go
- deploy_flags.go
- deps_factory.go
- domains.go
- ingress_services.go
- install.go
- istio.go
- knctl.go
- kubeconfig_flags.go
- list.go
- list_builds.go
- list_domains.go
- list_ingresses.go
- list_pods.go
- list_revisions.go
- list_routes.go
- list_services.go
- logs.go
- namespace_flags.go
- open.go
- revision_flags.go
- revision_pod_watcher.go
- revision_reference.go
- route.go
- route_flags.go
- secret_flags.go
- service_account_create_flags.go
- service_account_flags.go
- service_flags.go
- service_spec.go
- ssh_auth_secret_create_flags.go
- tag.go
- tag_flags.go
- tag_revision.go
- traffic_flags.go
- ui_flags.go
- unknown_bool_value.go
- untag.go
- untag_revision.go
- version.go
Click to show internal directories.
Click to hide internal directories.