Documentation ¶
Index ¶
- Variables
- func RegisterAuthorizedDomainsServer(s *grpc.Server, srv AuthorizedDomainsServer)
- func RegisterConfigurationsServer(s *grpc.Server, srv ConfigurationsServer)
- func RegisterDomainMappingsServer(s *grpc.Server, srv DomainMappingsServer)
- func RegisterRevisionsServer(s *grpc.Server, srv RevisionsServer)
- func RegisterRoutesServer(s *grpc.Server, srv RoutesServer)
- func RegisterServicesServer(s *grpc.Server, srv ServicesServer)
- type Addressable
- type AuthorizedDomain
- func (*AuthorizedDomain) Descriptor() ([]byte, []int)deprecated
- func (x *AuthorizedDomain) GetId() string
- func (x *AuthorizedDomain) GetName() string
- func (*AuthorizedDomain) ProtoMessage()
- func (x *AuthorizedDomain) ProtoReflect() protoreflect.Message
- func (x *AuthorizedDomain) Reset()
- func (x *AuthorizedDomain) String() string
- type AuthorizedDomainsClient
- type AuthorizedDomainsServer
- type Condition
- func (*Condition) Descriptor() ([]byte, []int)deprecated
- func (x *Condition) GetLastTransitionTime() *timestamppb.Timestamp
- func (x *Condition) GetMessage() string
- func (x *Condition) GetReason() string
- func (x *Condition) GetSeverity() string
- func (x *Condition) GetStatus() string
- func (x *Condition) GetType() string
- func (*Condition) ProtoMessage()
- func (x *Condition) ProtoReflect() protoreflect.Message
- func (x *Condition) Reset()
- func (x *Condition) String() string
- type ConfigMapEnvSource
- func (*ConfigMapEnvSource) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigMapEnvSource) GetLocalObjectReference() *LocalObjectReference
- func (x *ConfigMapEnvSource) GetName() string
- func (x *ConfigMapEnvSource) GetOptional() bool
- func (*ConfigMapEnvSource) ProtoMessage()
- func (x *ConfigMapEnvSource) ProtoReflect() protoreflect.Message
- func (x *ConfigMapEnvSource) Reset()
- func (x *ConfigMapEnvSource) String() string
- type ConfigMapKeySelector
- func (*ConfigMapKeySelector) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigMapKeySelector) GetKey() string
- func (x *ConfigMapKeySelector) GetLocalObjectReference() *LocalObjectReference
- func (x *ConfigMapKeySelector) GetName() string
- func (x *ConfigMapKeySelector) GetOptional() bool
- func (*ConfigMapKeySelector) ProtoMessage()
- func (x *ConfigMapKeySelector) ProtoReflect() protoreflect.Message
- func (x *ConfigMapKeySelector) Reset()
- func (x *ConfigMapKeySelector) String() string
- type ConfigMapVolumeSource
- func (*ConfigMapVolumeSource) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigMapVolumeSource) GetDefaultMode() int32
- func (x *ConfigMapVolumeSource) GetItems() []*KeyToPath
- func (x *ConfigMapVolumeSource) GetName() string
- func (x *ConfigMapVolumeSource) GetOptional() bool
- func (*ConfigMapVolumeSource) ProtoMessage()
- func (x *ConfigMapVolumeSource) ProtoReflect() protoreflect.Message
- func (x *ConfigMapVolumeSource) Reset()
- func (x *ConfigMapVolumeSource) String() string
- type Configuration
- func (*Configuration) Descriptor() ([]byte, []int)deprecated
- func (x *Configuration) GetApiVersion() string
- func (x *Configuration) GetKind() string
- func (x *Configuration) GetMetadata() *ObjectMeta
- func (x *Configuration) GetSpec() *ConfigurationSpec
- func (x *Configuration) GetStatus() *ConfigurationStatus
- func (*Configuration) ProtoMessage()
- func (x *Configuration) ProtoReflect() protoreflect.Message
- func (x *Configuration) Reset()
- func (x *Configuration) String() string
- type ConfigurationSpec
- func (*ConfigurationSpec) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigurationSpec) GetTemplate() *RevisionTemplate
- func (*ConfigurationSpec) ProtoMessage()
- func (x *ConfigurationSpec) ProtoReflect() protoreflect.Message
- func (x *ConfigurationSpec) Reset()
- func (x *ConfigurationSpec) String() string
- type ConfigurationStatus
- func (*ConfigurationStatus) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigurationStatus) GetConditions() []*Condition
- func (x *ConfigurationStatus) GetLatestCreatedRevisionName() string
- func (x *ConfigurationStatus) GetLatestReadyRevisionName() string
- func (x *ConfigurationStatus) GetObservedGeneration() int32
- func (*ConfigurationStatus) ProtoMessage()
- func (x *ConfigurationStatus) ProtoReflect() protoreflect.Message
- func (x *ConfigurationStatus) Reset()
- func (x *ConfigurationStatus) String() string
- type ConfigurationsClient
- type ConfigurationsServer
- type Container
- func (*Container) Descriptor() ([]byte, []int)deprecated
- func (x *Container) GetArgs() []string
- func (x *Container) GetCommand() []string
- func (x *Container) GetEnv() []*EnvVar
- func (x *Container) GetEnvFrom() []*EnvFromSource
- func (x *Container) GetImage() string
- func (x *Container) GetImagePullPolicy() string
- func (x *Container) GetLivenessProbe() *Probe
- func (x *Container) GetName() string
- func (x *Container) GetPorts() []*ContainerPort
- func (x *Container) GetReadinessProbe() *Probe
- func (x *Container) GetResources() *ResourceRequirements
- func (x *Container) GetSecurityContext() *SecurityContext
- func (x *Container) GetStartupProbe() *Probe
- func (x *Container) GetTerminationMessagePath() string
- func (x *Container) GetTerminationMessagePolicy() string
- func (x *Container) GetVolumeMounts() []*VolumeMount
- func (x *Container) GetWorkingDir() string
- func (*Container) ProtoMessage()
- func (x *Container) ProtoReflect() protoreflect.Message
- func (x *Container) Reset()
- func (x *Container) String() string
- type ContainerPort
- func (*ContainerPort) Descriptor() ([]byte, []int)deprecated
- func (x *ContainerPort) GetContainerPort() int32
- func (x *ContainerPort) GetName() string
- func (x *ContainerPort) GetProtocol() string
- func (*ContainerPort) ProtoMessage()
- func (x *ContainerPort) ProtoReflect() protoreflect.Message
- func (x *ContainerPort) Reset()
- func (x *ContainerPort) String() string
- type CreateDomainMappingRequest
- func (*CreateDomainMappingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateDomainMappingRequest) GetDomainMapping() *DomainMapping
- func (x *CreateDomainMappingRequest) GetDryRun() string
- func (x *CreateDomainMappingRequest) GetParent() string
- func (*CreateDomainMappingRequest) ProtoMessage()
- func (x *CreateDomainMappingRequest) ProtoReflect() protoreflect.Message
- func (x *CreateDomainMappingRequest) Reset()
- func (x *CreateDomainMappingRequest) String() string
- type CreateServiceRequest
- func (*CreateServiceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateServiceRequest) GetDryRun() string
- func (x *CreateServiceRequest) GetParent() string
- func (x *CreateServiceRequest) GetService() *Service
- func (*CreateServiceRequest) ProtoMessage()
- func (x *CreateServiceRequest) ProtoReflect() protoreflect.Message
- func (x *CreateServiceRequest) Reset()
- func (x *CreateServiceRequest) String() string
- type DeleteDomainMappingRequest
- func (*DeleteDomainMappingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteDomainMappingRequest) GetApiVersion() string
- func (x *DeleteDomainMappingRequest) GetDryRun() string
- func (x *DeleteDomainMappingRequest) GetKind() string
- func (x *DeleteDomainMappingRequest) GetName() string
- func (x *DeleteDomainMappingRequest) GetPropagationPolicy() string
- func (*DeleteDomainMappingRequest) ProtoMessage()
- func (x *DeleteDomainMappingRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteDomainMappingRequest) Reset()
- func (x *DeleteDomainMappingRequest) String() string
- type DeleteRevisionRequest
- func (*DeleteRevisionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteRevisionRequest) GetApiVersion() string
- func (x *DeleteRevisionRequest) GetDryRun() string
- func (x *DeleteRevisionRequest) GetKind() string
- func (x *DeleteRevisionRequest) GetName() string
- func (x *DeleteRevisionRequest) GetPropagationPolicy() string
- func (*DeleteRevisionRequest) ProtoMessage()
- func (x *DeleteRevisionRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteRevisionRequest) Reset()
- func (x *DeleteRevisionRequest) String() string
- type DeleteServiceRequest
- func (*DeleteServiceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteServiceRequest) GetApiVersion() string
- func (x *DeleteServiceRequest) GetDryRun() string
- func (x *DeleteServiceRequest) GetKind() string
- func (x *DeleteServiceRequest) GetName() string
- func (x *DeleteServiceRequest) GetPropagationPolicy() string
- func (*DeleteServiceRequest) ProtoMessage()
- func (x *DeleteServiceRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteServiceRequest) Reset()
- func (x *DeleteServiceRequest) String() string
- type DomainMapping
- func (*DomainMapping) Descriptor() ([]byte, []int)deprecated
- func (x *DomainMapping) GetApiVersion() string
- func (x *DomainMapping) GetKind() string
- func (x *DomainMapping) GetMetadata() *ObjectMeta
- func (x *DomainMapping) GetSpec() *DomainMappingSpec
- func (x *DomainMapping) GetStatus() *DomainMappingStatus
- func (*DomainMapping) ProtoMessage()
- func (x *DomainMapping) ProtoReflect() protoreflect.Message
- func (x *DomainMapping) Reset()
- func (x *DomainMapping) String() string
- type DomainMappingSpec
- func (*DomainMappingSpec) Descriptor() ([]byte, []int)deprecated
- func (x *DomainMappingSpec) GetForceOverride() bool
- func (x *DomainMappingSpec) GetRouteName() string
- func (*DomainMappingSpec) ProtoMessage()
- func (x *DomainMappingSpec) ProtoReflect() protoreflect.Message
- func (x *DomainMappingSpec) Reset()
- func (x *DomainMappingSpec) String() string
- type DomainMappingSpec_CertificateMode
- func (DomainMappingSpec_CertificateMode) Descriptor() protoreflect.EnumDescriptor
- func (x DomainMappingSpec_CertificateMode) Enum() *DomainMappingSpec_CertificateMode
- func (DomainMappingSpec_CertificateMode) EnumDescriptor() ([]byte, []int)deprecated
- func (x DomainMappingSpec_CertificateMode) Number() protoreflect.EnumNumber
- func (x DomainMappingSpec_CertificateMode) String() string
- func (DomainMappingSpec_CertificateMode) Type() protoreflect.EnumType
- type DomainMappingStatus
- func (*DomainMappingStatus) Descriptor() ([]byte, []int)deprecated
- func (x *DomainMappingStatus) GetConditions() []*Condition
- func (x *DomainMappingStatus) GetMappedRouteName() string
- func (x *DomainMappingStatus) GetObservedGeneration() int32
- func (x *DomainMappingStatus) GetResourceRecords() []*ResourceRecord
- func (x *DomainMappingStatus) GetUrl() string
- func (*DomainMappingStatus) ProtoMessage()
- func (x *DomainMappingStatus) ProtoReflect() protoreflect.Message
- func (x *DomainMappingStatus) Reset()
- func (x *DomainMappingStatus) String() string
- type DomainMappingsClient
- type DomainMappingsServer
- type EnvFromSource
- func (*EnvFromSource) Descriptor() ([]byte, []int)deprecated
- func (x *EnvFromSource) GetConfigMapRef() *ConfigMapEnvSource
- func (x *EnvFromSource) GetPrefix() string
- func (x *EnvFromSource) GetSecretRef() *SecretEnvSource
- func (*EnvFromSource) ProtoMessage()
- func (x *EnvFromSource) ProtoReflect() protoreflect.Message
- func (x *EnvFromSource) Reset()
- func (x *EnvFromSource) String() string
- type EnvVar
- func (*EnvVar) Descriptor() ([]byte, []int)deprecated
- func (x *EnvVar) GetName() string
- func (x *EnvVar) GetValue() string
- func (x *EnvVar) GetValueFrom() *EnvVarSource
- func (*EnvVar) ProtoMessage()
- func (x *EnvVar) ProtoReflect() protoreflect.Message
- func (x *EnvVar) Reset()
- func (x *EnvVar) String() string
- type EnvVarSource
- func (*EnvVarSource) Descriptor() ([]byte, []int)deprecated
- func (x *EnvVarSource) GetConfigMapKeyRef() *ConfigMapKeySelector
- func (x *EnvVarSource) GetSecretKeyRef() *SecretKeySelector
- func (*EnvVarSource) ProtoMessage()
- func (x *EnvVarSource) ProtoReflect() protoreflect.Message
- func (x *EnvVarSource) Reset()
- func (x *EnvVarSource) String() string
- type ExecAction
- type GetConfigurationRequest
- func (*GetConfigurationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetConfigurationRequest) GetName() string
- func (*GetConfigurationRequest) ProtoMessage()
- func (x *GetConfigurationRequest) ProtoReflect() protoreflect.Message
- func (x *GetConfigurationRequest) Reset()
- func (x *GetConfigurationRequest) String() string
- type GetDomainMappingRequest
- func (*GetDomainMappingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetDomainMappingRequest) GetName() string
- func (*GetDomainMappingRequest) ProtoMessage()
- func (x *GetDomainMappingRequest) ProtoReflect() protoreflect.Message
- func (x *GetDomainMappingRequest) Reset()
- func (x *GetDomainMappingRequest) String() string
- type GetRevisionRequest
- func (*GetRevisionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetRevisionRequest) GetName() string
- func (*GetRevisionRequest) ProtoMessage()
- func (x *GetRevisionRequest) ProtoReflect() protoreflect.Message
- func (x *GetRevisionRequest) Reset()
- func (x *GetRevisionRequest) String() string
- type GetRouteRequest
- type GetServiceRequest
- type HTTPGetAction
- func (*HTTPGetAction) Descriptor() ([]byte, []int)deprecated
- func (x *HTTPGetAction) GetHost() string
- func (x *HTTPGetAction) GetHttpHeaders() []*HTTPHeader
- func (x *HTTPGetAction) GetPath() string
- func (x *HTTPGetAction) GetScheme() string
- func (*HTTPGetAction) ProtoMessage()
- func (x *HTTPGetAction) ProtoReflect() protoreflect.Message
- func (x *HTTPGetAction) Reset()
- func (x *HTTPGetAction) String() string
- type HTTPHeader
- type KeyToPath
- func (*KeyToPath) Descriptor() ([]byte, []int)deprecated
- func (x *KeyToPath) GetKey() string
- func (x *KeyToPath) GetMode() int32
- func (x *KeyToPath) GetPath() string
- func (*KeyToPath) ProtoMessage()
- func (x *KeyToPath) ProtoReflect() protoreflect.Message
- func (x *KeyToPath) Reset()
- func (x *KeyToPath) String() string
- type ListAuthorizedDomainsRequest
- func (*ListAuthorizedDomainsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListAuthorizedDomainsRequest) GetPageSize() int32
- func (x *ListAuthorizedDomainsRequest) GetPageToken() string
- func (x *ListAuthorizedDomainsRequest) GetParent() string
- func (*ListAuthorizedDomainsRequest) ProtoMessage()
- func (x *ListAuthorizedDomainsRequest) ProtoReflect() protoreflect.Message
- func (x *ListAuthorizedDomainsRequest) Reset()
- func (x *ListAuthorizedDomainsRequest) String() string
- type ListAuthorizedDomainsResponse
- func (*ListAuthorizedDomainsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListAuthorizedDomainsResponse) GetDomains() []*AuthorizedDomain
- func (x *ListAuthorizedDomainsResponse) GetNextPageToken() string
- func (*ListAuthorizedDomainsResponse) ProtoMessage()
- func (x *ListAuthorizedDomainsResponse) ProtoReflect() protoreflect.Message
- func (x *ListAuthorizedDomainsResponse) Reset()
- func (x *ListAuthorizedDomainsResponse) String() string
- type ListConfigurationsRequest
- func (*ListConfigurationsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListConfigurationsRequest) GetFieldSelector() string
- func (x *ListConfigurationsRequest) GetIncludeUninitialized() bool
- func (x *ListConfigurationsRequest) GetLabelSelector() string
- func (x *ListConfigurationsRequest) GetPageSize() int32
- func (x *ListConfigurationsRequest) GetPageToken() string
- func (x *ListConfigurationsRequest) GetParent() string
- func (x *ListConfigurationsRequest) GetResourceVersion() string
- func (x *ListConfigurationsRequest) GetWatch() bool
- func (*ListConfigurationsRequest) ProtoMessage()
- func (x *ListConfigurationsRequest) ProtoReflect() protoreflect.Message
- func (x *ListConfigurationsRequest) Reset()
- func (x *ListConfigurationsRequest) String() string
- type ListConfigurationsResponse
- func (*ListConfigurationsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListConfigurationsResponse) GetApiVersion() string
- func (x *ListConfigurationsResponse) GetItems() []*Configuration
- func (x *ListConfigurationsResponse) GetKind() string
- func (x *ListConfigurationsResponse) GetMetadata() *ListMeta
- func (x *ListConfigurationsResponse) GetUnreachable() []string
- func (*ListConfigurationsResponse) ProtoMessage()
- func (x *ListConfigurationsResponse) ProtoReflect() protoreflect.Message
- func (x *ListConfigurationsResponse) Reset()
- func (x *ListConfigurationsResponse) String() string
- type ListDomainMappingsRequest
- func (*ListDomainMappingsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListDomainMappingsRequest) GetFieldSelector() string
- func (x *ListDomainMappingsRequest) GetIncludeUninitialized() bool
- func (x *ListDomainMappingsRequest) GetLabelSelector() string
- func (x *ListDomainMappingsRequest) GetPageSize() int32
- func (x *ListDomainMappingsRequest) GetPageToken() string
- func (x *ListDomainMappingsRequest) GetParent() string
- func (x *ListDomainMappingsRequest) GetResourceVersion() string
- func (x *ListDomainMappingsRequest) GetWatch() bool
- func (*ListDomainMappingsRequest) ProtoMessage()
- func (x *ListDomainMappingsRequest) ProtoReflect() protoreflect.Message
- func (x *ListDomainMappingsRequest) Reset()
- func (x *ListDomainMappingsRequest) String() string
- type ListDomainMappingsResponse
- func (*ListDomainMappingsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListDomainMappingsResponse) GetApiVersion() string
- func (x *ListDomainMappingsResponse) GetItems() []*DomainMapping
- func (x *ListDomainMappingsResponse) GetKind() string
- func (x *ListDomainMappingsResponse) GetMetadata() *ObjectMeta
- func (x *ListDomainMappingsResponse) GetUnreachable() []string
- func (*ListDomainMappingsResponse) ProtoMessage()
- func (x *ListDomainMappingsResponse) ProtoReflect() protoreflect.Message
- func (x *ListDomainMappingsResponse) Reset()
- func (x *ListDomainMappingsResponse) String() string
- type ListMeta
- func (*ListMeta) Descriptor() ([]byte, []int)deprecated
- func (x *ListMeta) GetContinue() string
- func (x *ListMeta) GetResourceVersion() string
- func (x *ListMeta) GetSelfLink() string
- func (*ListMeta) ProtoMessage()
- func (x *ListMeta) ProtoReflect() protoreflect.Message
- func (x *ListMeta) Reset()
- func (x *ListMeta) String() string
- type ListRevisionsRequest
- func (*ListRevisionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListRevisionsRequest) GetFieldSelector() string
- func (x *ListRevisionsRequest) GetIncludeUninitialized() bool
- func (x *ListRevisionsRequest) GetLabelSelector() string
- func (x *ListRevisionsRequest) GetPageSize() int32
- func (x *ListRevisionsRequest) GetPageToken() string
- func (x *ListRevisionsRequest) GetParent() string
- func (x *ListRevisionsRequest) GetResourceVersion() string
- func (x *ListRevisionsRequest) GetWatch() bool
- func (*ListRevisionsRequest) ProtoMessage()
- func (x *ListRevisionsRequest) ProtoReflect() protoreflect.Message
- func (x *ListRevisionsRequest) Reset()
- func (x *ListRevisionsRequest) String() string
- type ListRevisionsResponse
- func (*ListRevisionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListRevisionsResponse) GetApiVersion() string
- func (x *ListRevisionsResponse) GetItems() []*Revision
- func (x *ListRevisionsResponse) GetKind() string
- func (x *ListRevisionsResponse) GetMetadata() *ListMeta
- func (x *ListRevisionsResponse) GetUnreachable() []string
- func (*ListRevisionsResponse) ProtoMessage()
- func (x *ListRevisionsResponse) ProtoReflect() protoreflect.Message
- func (x *ListRevisionsResponse) Reset()
- func (x *ListRevisionsResponse) String() string
- type ListRoutesRequest
- func (*ListRoutesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListRoutesRequest) GetFieldSelector() string
- func (x *ListRoutesRequest) GetIncludeUninitialized() bool
- func (x *ListRoutesRequest) GetLabelSelector() string
- func (x *ListRoutesRequest) GetPageSize() int32
- func (x *ListRoutesRequest) GetPageToken() string
- func (x *ListRoutesRequest) GetParent() string
- func (x *ListRoutesRequest) GetResourceVersion() string
- func (x *ListRoutesRequest) GetWatch() bool
- func (*ListRoutesRequest) ProtoMessage()
- func (x *ListRoutesRequest) ProtoReflect() protoreflect.Message
- func (x *ListRoutesRequest) Reset()
- func (x *ListRoutesRequest) String() string
- type ListRoutesResponse
- func (*ListRoutesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListRoutesResponse) GetApiVersion() string
- func (x *ListRoutesResponse) GetItems() []*Route
- func (x *ListRoutesResponse) GetKind() string
- func (x *ListRoutesResponse) GetMetadata() *ListMeta
- func (x *ListRoutesResponse) GetUnreachable() []string
- func (*ListRoutesResponse) ProtoMessage()
- func (x *ListRoutesResponse) ProtoReflect() protoreflect.Message
- func (x *ListRoutesResponse) Reset()
- func (x *ListRoutesResponse) String() string
- type ListServicesRequest
- func (*ListServicesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListServicesRequest) GetFieldSelector() string
- func (x *ListServicesRequest) GetIncludeUninitialized() bool
- func (x *ListServicesRequest) GetLabelSelector() string
- func (x *ListServicesRequest) GetPageSize() int32
- func (x *ListServicesRequest) GetPageToken() string
- func (x *ListServicesRequest) GetParent() string
- func (x *ListServicesRequest) GetResourceVersion() string
- func (x *ListServicesRequest) GetWatch() bool
- func (*ListServicesRequest) ProtoMessage()
- func (x *ListServicesRequest) ProtoReflect() protoreflect.Message
- func (x *ListServicesRequest) Reset()
- func (x *ListServicesRequest) String() string
- type ListServicesResponse
- func (*ListServicesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListServicesResponse) GetApiVersion() string
- func (x *ListServicesResponse) GetItems() []*Service
- func (x *ListServicesResponse) GetKind() string
- func (x *ListServicesResponse) GetMetadata() *ListMeta
- func (x *ListServicesResponse) GetUnreachable() []string
- func (*ListServicesResponse) ProtoMessage()
- func (x *ListServicesResponse) ProtoReflect() protoreflect.Message
- func (x *ListServicesResponse) Reset()
- func (x *ListServicesResponse) String() string
- type LocalObjectReference
- func (*LocalObjectReference) Descriptor() ([]byte, []int)deprecated
- func (x *LocalObjectReference) GetName() string
- func (*LocalObjectReference) ProtoMessage()
- func (x *LocalObjectReference) ProtoReflect() protoreflect.Message
- func (x *LocalObjectReference) Reset()
- func (x *LocalObjectReference) String() string
- type ObjectMeta
- func (*ObjectMeta) Descriptor() ([]byte, []int)deprecated
- func (x *ObjectMeta) GetAnnotations() map[string]string
- func (x *ObjectMeta) GetClusterName() string
- func (x *ObjectMeta) GetCreateTime() *timestamppb.Timestamp
- func (x *ObjectMeta) GetDeleteTime() *timestamppb.Timestamp
- func (x *ObjectMeta) GetDeletionGracePeriodSeconds() int32
- func (x *ObjectMeta) GetFinalizers() []string
- func (x *ObjectMeta) GetGenerateName() string
- func (x *ObjectMeta) GetGeneration() int32
- func (x *ObjectMeta) GetLabels() map[string]string
- func (x *ObjectMeta) GetName() string
- func (x *ObjectMeta) GetNamespace() string
- func (x *ObjectMeta) GetOwnerReferences() []*OwnerReference
- func (x *ObjectMeta) GetResourceVersion() string
- func (x *ObjectMeta) GetSelfLink() string
- func (x *ObjectMeta) GetUid() string
- func (*ObjectMeta) ProtoMessage()
- func (x *ObjectMeta) ProtoReflect() protoreflect.Message
- func (x *ObjectMeta) Reset()
- func (x *ObjectMeta) String() string
- type OwnerReference
- func (*OwnerReference) Descriptor() ([]byte, []int)deprecated
- func (x *OwnerReference) GetApiVersion() string
- func (x *OwnerReference) GetBlockOwnerDeletion() bool
- func (x *OwnerReference) GetController() bool
- func (x *OwnerReference) GetKind() string
- func (x *OwnerReference) GetName() string
- func (x *OwnerReference) GetUid() string
- func (*OwnerReference) ProtoMessage()
- func (x *OwnerReference) ProtoReflect() protoreflect.Message
- func (x *OwnerReference) Reset()
- func (x *OwnerReference) String() string
- type Probe
- func (*Probe) Descriptor() ([]byte, []int)deprecated
- func (x *Probe) GetExec() *ExecAction
- func (x *Probe) GetFailureThreshold() int32
- func (x *Probe) GetHttpGet() *HTTPGetAction
- func (x *Probe) GetInitialDelaySeconds() int32
- func (x *Probe) GetPeriodSeconds() int32
- func (x *Probe) GetSuccessThreshold() int32
- func (x *Probe) GetTcpSocket() *TCPSocketAction
- func (x *Probe) GetTimeoutSeconds() int32
- func (*Probe) ProtoMessage()
- func (x *Probe) ProtoReflect() protoreflect.Message
- func (x *Probe) Reset()
- func (x *Probe) String() string
- type ReplaceServiceRequest
- func (*ReplaceServiceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReplaceServiceRequest) GetDryRun() string
- func (x *ReplaceServiceRequest) GetName() string
- func (x *ReplaceServiceRequest) GetService() *Service
- func (*ReplaceServiceRequest) ProtoMessage()
- func (x *ReplaceServiceRequest) ProtoReflect() protoreflect.Message
- func (x *ReplaceServiceRequest) Reset()
- func (x *ReplaceServiceRequest) String() string
- type ResourceRecord
- func (*ResourceRecord) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceRecord) GetName() string
- func (x *ResourceRecord) GetRrdata() string
- func (*ResourceRecord) ProtoMessage()
- func (x *ResourceRecord) ProtoReflect() protoreflect.Message
- func (x *ResourceRecord) Reset()
- func (x *ResourceRecord) String() string
- type ResourceRecord_RecordType
- func (ResourceRecord_RecordType) Descriptor() protoreflect.EnumDescriptor
- func (x ResourceRecord_RecordType) Enum() *ResourceRecord_RecordType
- func (ResourceRecord_RecordType) EnumDescriptor() ([]byte, []int)deprecated
- func (x ResourceRecord_RecordType) Number() protoreflect.EnumNumber
- func (x ResourceRecord_RecordType) String() string
- func (ResourceRecord_RecordType) Type() protoreflect.EnumType
- type ResourceRequirements
- func (*ResourceRequirements) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceRequirements) GetLimits() map[string]string
- func (x *ResourceRequirements) GetRequests() map[string]string
- func (*ResourceRequirements) ProtoMessage()
- func (x *ResourceRequirements) ProtoReflect() protoreflect.Message
- func (x *ResourceRequirements) Reset()
- func (x *ResourceRequirements) String() string
- type Revision
- func (*Revision) Descriptor() ([]byte, []int)deprecated
- func (x *Revision) GetApiVersion() string
- func (x *Revision) GetKind() string
- func (x *Revision) GetMetadata() *ObjectMeta
- func (x *Revision) GetSpec() *RevisionSpec
- func (x *Revision) GetStatus() *RevisionStatus
- func (*Revision) ProtoMessage()
- func (x *Revision) ProtoReflect() protoreflect.Message
- func (x *Revision) Reset()
- func (x *Revision) String() string
- type RevisionSpec
- func (*RevisionSpec) Descriptor() ([]byte, []int)deprecated
- func (x *RevisionSpec) GetContainerConcurrency() int32
- func (x *RevisionSpec) GetContainers() []*Container
- func (x *RevisionSpec) GetServiceAccountName() string
- func (x *RevisionSpec) GetTimeoutSeconds() int32
- func (x *RevisionSpec) GetVolumes() []*Volume
- func (*RevisionSpec) ProtoMessage()
- func (x *RevisionSpec) ProtoReflect() protoreflect.Message
- func (x *RevisionSpec) Reset()
- func (x *RevisionSpec) String() string
- type RevisionStatus
- func (*RevisionStatus) Descriptor() ([]byte, []int)deprecated
- func (x *RevisionStatus) GetConditions() []*Condition
- func (x *RevisionStatus) GetImageDigest() string
- func (x *RevisionStatus) GetLogUrl() string
- func (x *RevisionStatus) GetObservedGeneration() int32
- func (x *RevisionStatus) GetServiceName() string
- func (*RevisionStatus) ProtoMessage()
- func (x *RevisionStatus) ProtoReflect() protoreflect.Message
- func (x *RevisionStatus) Reset()
- func (x *RevisionStatus) String() string
- type RevisionTemplate
- func (*RevisionTemplate) Descriptor() ([]byte, []int)deprecated
- func (x *RevisionTemplate) GetMetadata() *ObjectMeta
- func (x *RevisionTemplate) GetSpec() *RevisionSpec
- func (*RevisionTemplate) ProtoMessage()
- func (x *RevisionTemplate) ProtoReflect() protoreflect.Message
- func (x *RevisionTemplate) Reset()
- func (x *RevisionTemplate) String() string
- type RevisionsClient
- type RevisionsServer
- type Route
- func (*Route) Descriptor() ([]byte, []int)deprecated
- func (x *Route) GetApiVersion() string
- func (x *Route) GetKind() string
- func (x *Route) GetMetadata() *ObjectMeta
- func (x *Route) GetSpec() *RouteSpec
- func (x *Route) GetStatus() *RouteStatus
- func (*Route) ProtoMessage()
- func (x *Route) ProtoReflect() protoreflect.Message
- func (x *Route) Reset()
- func (x *Route) String() string
- type RouteSpec
- type RouteStatus
- func (*RouteStatus) Descriptor() ([]byte, []int)deprecated
- func (x *RouteStatus) GetAddress() *Addressable
- func (x *RouteStatus) GetConditions() []*Condition
- func (x *RouteStatus) GetObservedGeneration() int32
- func (x *RouteStatus) GetTraffic() []*TrafficTarget
- func (x *RouteStatus) GetUrl() string
- func (*RouteStatus) ProtoMessage()
- func (x *RouteStatus) ProtoReflect() protoreflect.Message
- func (x *RouteStatus) Reset()
- func (x *RouteStatus) String() string
- type RoutesClient
- type RoutesServer
- type SecretEnvSource
- func (*SecretEnvSource) Descriptor() ([]byte, []int)deprecated
- func (x *SecretEnvSource) GetLocalObjectReference() *LocalObjectReference
- func (x *SecretEnvSource) GetName() string
- func (x *SecretEnvSource) GetOptional() bool
- func (*SecretEnvSource) ProtoMessage()
- func (x *SecretEnvSource) ProtoReflect() protoreflect.Message
- func (x *SecretEnvSource) Reset()
- func (x *SecretEnvSource) String() string
- type SecretKeySelector
- func (*SecretKeySelector) Descriptor() ([]byte, []int)deprecated
- func (x *SecretKeySelector) GetKey() string
- func (x *SecretKeySelector) GetLocalObjectReference() *LocalObjectReference
- func (x *SecretKeySelector) GetName() string
- func (x *SecretKeySelector) GetOptional() bool
- func (*SecretKeySelector) ProtoMessage()
- func (x *SecretKeySelector) ProtoReflect() protoreflect.Message
- func (x *SecretKeySelector) Reset()
- func (x *SecretKeySelector) String() string
- type SecretVolumeSource
- func (*SecretVolumeSource) Descriptor() ([]byte, []int)deprecated
- func (x *SecretVolumeSource) GetDefaultMode() int32
- func (x *SecretVolumeSource) GetItems() []*KeyToPath
- func (x *SecretVolumeSource) GetOptional() bool
- func (x *SecretVolumeSource) GetSecretName() string
- func (*SecretVolumeSource) ProtoMessage()
- func (x *SecretVolumeSource) ProtoReflect() protoreflect.Message
- func (x *SecretVolumeSource) Reset()
- func (x *SecretVolumeSource) String() string
- type SecurityContext
- type Service
- func (*Service) Descriptor() ([]byte, []int)deprecated
- func (x *Service) GetApiVersion() string
- func (x *Service) GetKind() string
- func (x *Service) GetMetadata() *ObjectMeta
- func (x *Service) GetSpec() *ServiceSpec
- func (x *Service) GetStatus() *ServiceStatus
- func (*Service) ProtoMessage()
- func (x *Service) ProtoReflect() protoreflect.Message
- func (x *Service) Reset()
- func (x *Service) String() string
- type ServiceSpec
- func (*ServiceSpec) Descriptor() ([]byte, []int)deprecated
- func (x *ServiceSpec) GetTemplate() *RevisionTemplate
- func (x *ServiceSpec) GetTraffic() []*TrafficTarget
- func (*ServiceSpec) ProtoMessage()
- func (x *ServiceSpec) ProtoReflect() protoreflect.Message
- func (x *ServiceSpec) Reset()
- func (x *ServiceSpec) String() string
- type ServiceStatus
- func (*ServiceStatus) Descriptor() ([]byte, []int)deprecated
- func (x *ServiceStatus) GetAddress() *Addressable
- func (x *ServiceStatus) GetConditions() []*Condition
- func (x *ServiceStatus) GetLatestCreatedRevisionName() string
- func (x *ServiceStatus) GetLatestReadyRevisionName() string
- func (x *ServiceStatus) GetObservedGeneration() int32
- func (x *ServiceStatus) GetTraffic() []*TrafficTarget
- func (x *ServiceStatus) GetUrl() string
- func (*ServiceStatus) ProtoMessage()
- func (x *ServiceStatus) ProtoReflect() protoreflect.Message
- func (x *ServiceStatus) Reset()
- func (x *ServiceStatus) String() string
- type ServicesClient
- type ServicesServer
- type Status
- func (*Status) Descriptor() ([]byte, []int)deprecated
- func (x *Status) GetCode() int32
- func (x *Status) GetDetails() *StatusDetails
- func (x *Status) GetMessage() string
- func (x *Status) GetMetadata() *ListMeta
- func (x *Status) GetReason() string
- func (x *Status) GetStatus() string
- func (*Status) ProtoMessage()
- func (x *Status) ProtoReflect() protoreflect.Message
- func (x *Status) Reset()
- func (x *Status) String() string
- type StatusCause
- func (*StatusCause) Descriptor() ([]byte, []int)deprecated
- func (x *StatusCause) GetField() string
- func (x *StatusCause) GetMessage() string
- func (x *StatusCause) GetReason() string
- func (*StatusCause) ProtoMessage()
- func (x *StatusCause) ProtoReflect() protoreflect.Message
- func (x *StatusCause) Reset()
- func (x *StatusCause) String() string
- type StatusDetails
- func (*StatusDetails) Descriptor() ([]byte, []int)deprecated
- func (x *StatusDetails) GetCauses() []*StatusCause
- func (x *StatusDetails) GetGroup() string
- func (x *StatusDetails) GetKind() string
- func (x *StatusDetails) GetName() string
- func (x *StatusDetails) GetRetryAfterSeconds() int32
- func (x *StatusDetails) GetUid() string
- func (*StatusDetails) ProtoMessage()
- func (x *StatusDetails) ProtoReflect() protoreflect.Message
- func (x *StatusDetails) Reset()
- func (x *StatusDetails) String() string
- type TCPSocketAction
- func (*TCPSocketAction) Descriptor() ([]byte, []int)deprecated
- func (x *TCPSocketAction) GetHost() string
- func (x *TCPSocketAction) GetPort() int32
- func (*TCPSocketAction) ProtoMessage()
- func (x *TCPSocketAction) ProtoReflect() protoreflect.Message
- func (x *TCPSocketAction) Reset()
- func (x *TCPSocketAction) String() string
- type TrafficTarget
- func (*TrafficTarget) Descriptor() ([]byte, []int)deprecated
- func (x *TrafficTarget) GetConfigurationName() string
- func (x *TrafficTarget) GetLatestRevision() bool
- func (x *TrafficTarget) GetPercent() int32
- func (x *TrafficTarget) GetRevisionName() string
- func (x *TrafficTarget) GetTag() string
- func (x *TrafficTarget) GetUrl() string
- func (*TrafficTarget) ProtoMessage()
- func (x *TrafficTarget) ProtoReflect() protoreflect.Message
- func (x *TrafficTarget) Reset()
- func (x *TrafficTarget) String() string
- type UnimplementedAuthorizedDomainsServer
- type UnimplementedConfigurationsServer
- type UnimplementedDomainMappingsServer
- func (*UnimplementedDomainMappingsServer) CreateDomainMapping(context.Context, *CreateDomainMappingRequest) (*DomainMapping, error)
- func (*UnimplementedDomainMappingsServer) DeleteDomainMapping(context.Context, *DeleteDomainMappingRequest) (*Status, error)
- func (*UnimplementedDomainMappingsServer) GetDomainMapping(context.Context, *GetDomainMappingRequest) (*DomainMapping, error)
- func (*UnimplementedDomainMappingsServer) ListDomainMappings(context.Context, *ListDomainMappingsRequest) (*ListDomainMappingsResponse, error)
- type UnimplementedRevisionsServer
- func (*UnimplementedRevisionsServer) DeleteRevision(context.Context, *DeleteRevisionRequest) (*Status, error)
- func (*UnimplementedRevisionsServer) GetRevision(context.Context, *GetRevisionRequest) (*Revision, error)
- func (*UnimplementedRevisionsServer) ListRevisions(context.Context, *ListRevisionsRequest) (*ListRevisionsResponse, error)
- type UnimplementedRoutesServer
- type UnimplementedServicesServer
- func (*UnimplementedServicesServer) CreateService(context.Context, *CreateServiceRequest) (*Service, error)
- func (*UnimplementedServicesServer) DeleteService(context.Context, *DeleteServiceRequest) (*Status, error)
- func (*UnimplementedServicesServer) GetIamPolicy(context.Context, *v1.GetIamPolicyRequest) (*v1.Policy, error)
- func (*UnimplementedServicesServer) GetService(context.Context, *GetServiceRequest) (*Service, error)
- func (*UnimplementedServicesServer) ListServices(context.Context, *ListServicesRequest) (*ListServicesResponse, error)
- func (*UnimplementedServicesServer) ReplaceService(context.Context, *ReplaceServiceRequest) (*Service, error)
- func (*UnimplementedServicesServer) SetIamPolicy(context.Context, *v1.SetIamPolicyRequest) (*v1.Policy, error)
- func (*UnimplementedServicesServer) TestIamPermissions(context.Context, *v1.TestIamPermissionsRequest) (*v1.TestIamPermissionsResponse, error)
- type Volume
- func (*Volume) Descriptor() ([]byte, []int)deprecated
- func (x *Volume) GetConfigMap() *ConfigMapVolumeSource
- func (x *Volume) GetName() string
- func (x *Volume) GetSecret() *SecretVolumeSource
- func (*Volume) ProtoMessage()
- func (x *Volume) ProtoReflect() protoreflect.Message
- func (x *Volume) Reset()
- func (x *Volume) String() string
- type VolumeMount
- func (*VolumeMount) Descriptor() ([]byte, []int)deprecated
- func (x *VolumeMount) GetMountPath() string
- func (x *VolumeMount) GetName() string
- func (x *VolumeMount) GetReadOnly() bool
- func (x *VolumeMount) GetSubPath() string
- func (*VolumeMount) ProtoMessage()
- func (x *VolumeMount) ProtoReflect() protoreflect.Message
- func (x *VolumeMount) Reset()
- func (x *VolumeMount) String() string
Constants ¶
This section is empty.
Variables ¶
var ( DomainMappingSpec_CertificateMode_name = map[int32]string{ 0: "CERTIFICATE_MODE_UNSPECIFIED", 1: "NONE", 2: "AUTOMATIC", } DomainMappingSpec_CertificateMode_value = map[string]int32{ "CERTIFICATE_MODE_UNSPECIFIED": 0, "NONE": 1, "AUTOMATIC": 2, } )
Enum value maps for DomainMappingSpec_CertificateMode.
var ( ResourceRecord_RecordType_name = map[int32]string{ 0: "RECORD_TYPE_UNSPECIFIED", 1: "A", 2: "AAAA", 3: "CNAME", } ResourceRecord_RecordType_value = map[string]int32{ "RECORD_TYPE_UNSPECIFIED": 0, "A": 1, "AAAA": 2, "CNAME": 3, } )
Enum value maps for ResourceRecord_RecordType.
var File_google_cloud_run_v1_common_proto protoreflect.FileDescriptor
var File_google_cloud_run_v1_configurations_proto protoreflect.FileDescriptor
var File_google_cloud_run_v1_corev1_proto protoreflect.FileDescriptor
var File_google_cloud_run_v1_domain_mappings_proto protoreflect.FileDescriptor
var File_google_cloud_run_v1_metav1_proto protoreflect.FileDescriptor
var File_google_cloud_run_v1_revisions_proto protoreflect.FileDescriptor
var File_google_cloud_run_v1_routes_proto protoreflect.FileDescriptor
var File_google_cloud_run_v1_services_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAuthorizedDomainsServer ¶
func RegisterAuthorizedDomainsServer(s *grpc.Server, srv AuthorizedDomainsServer)
func RegisterConfigurationsServer ¶
func RegisterConfigurationsServer(s *grpc.Server, srv ConfigurationsServer)
func RegisterDomainMappingsServer ¶
func RegisterDomainMappingsServer(s *grpc.Server, srv DomainMappingsServer)
func RegisterRevisionsServer ¶
func RegisterRevisionsServer(s *grpc.Server, srv RevisionsServer)
func RegisterRoutesServer ¶
func RegisterRoutesServer(s *grpc.Server, srv RoutesServer)
func RegisterServicesServer ¶
func RegisterServicesServer(s *grpc.Server, srv ServicesServer)
Types ¶
type Addressable ¶
type Addressable struct { // Information for connecting over HTTP(s). Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` // contains filtered or unexported fields }
func (*Addressable) Descriptor
deprecated
func (*Addressable) Descriptor() ([]byte, []int)
Deprecated: Use Addressable.ProtoReflect.Descriptor instead.
func (*Addressable) GetUrl ¶
func (x *Addressable) GetUrl() string
func (*Addressable) ProtoMessage ¶
func (*Addressable) ProtoMessage()
func (*Addressable) ProtoReflect ¶
func (x *Addressable) ProtoReflect() protoreflect.Message
func (*Addressable) Reset ¶
func (x *Addressable) Reset()
func (*Addressable) String ¶
func (x *Addressable) String() string
type AuthorizedDomain ¶
type AuthorizedDomain struct { // DEPRECATED // Deprecated Read only. Full path to the AuthorizedDomain resource in the API. // Example: projects/myproject/authorizedDomains/example.com. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Relative name of the domain authorized for use. Example: example.com. Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*AuthorizedDomain) Descriptor
deprecated
func (*AuthorizedDomain) Descriptor() ([]byte, []int)
Deprecated: Use AuthorizedDomain.ProtoReflect.Descriptor instead.
func (*AuthorizedDomain) GetId ¶
func (x *AuthorizedDomain) GetId() string
func (*AuthorizedDomain) GetName ¶
func (x *AuthorizedDomain) GetName() string
func (*AuthorizedDomain) ProtoMessage ¶
func (*AuthorizedDomain) ProtoMessage()
func (*AuthorizedDomain) ProtoReflect ¶
func (x *AuthorizedDomain) ProtoReflect() protoreflect.Message
func (*AuthorizedDomain) Reset ¶
func (x *AuthorizedDomain) Reset()
func (*AuthorizedDomain) String ¶
func (x *AuthorizedDomain) String() string
type AuthorizedDomainsClient ¶
type AuthorizedDomainsClient interface { // List authorized domains. ListAuthorizedDomains(ctx context.Context, in *ListAuthorizedDomainsRequest, opts ...grpc.CallOption) (*ListAuthorizedDomainsResponse, error) }
AuthorizedDomainsClient is the client API for AuthorizedDomains service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewAuthorizedDomainsClient ¶
func NewAuthorizedDomainsClient(cc grpc.ClientConnInterface) AuthorizedDomainsClient
type AuthorizedDomainsServer ¶
type AuthorizedDomainsServer interface { // List authorized domains. ListAuthorizedDomains(context.Context, *ListAuthorizedDomainsRequest) (*ListAuthorizedDomainsResponse, error) }
AuthorizedDomainsServer is the server API for AuthorizedDomains service.
type Condition ¶
type Condition struct { // type is used to communicate the status of the reconciliation process. // See also: https://github.com/knative/serving/blob/master/docs/spec/errors.md#error-conditions-and-reporting // Types common to all resources include: * "Ready": True when the Resource is ready. Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` // Status of the condition, one of True, False, Unknown. Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` // One-word CamelCase reason for the condition's last transition. Reason string `protobuf:"bytes,3,opt,name=reason,proto3" json:"reason,omitempty"` // Human readable message indicating details about the current status. Message string `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"` // Last time the condition transitioned from one status to another. LastTransitionTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=last_transition_time,json=lastTransitionTime,proto3" json:"last_transition_time,omitempty"` // How to interpret failures of this condition, one of Error, Warning, Info Severity string `protobuf:"bytes,6,opt,name=severity,proto3" json:"severity,omitempty"` // contains filtered or unexported fields }
func (*Condition) Descriptor
deprecated
func (*Condition) GetLastTransitionTime ¶
func (x *Condition) GetLastTransitionTime() *timestamppb.Timestamp
func (*Condition) GetMessage ¶
func (*Condition) GetSeverity ¶
func (*Condition) ProtoMessage ¶
func (*Condition) ProtoMessage()
func (*Condition) ProtoReflect ¶
func (x *Condition) ProtoReflect() protoreflect.Message
type ConfigMapEnvSource ¶ added in v0.2.0
type ConfigMapEnvSource struct { // DEPRECATED // This field should not be used directly as it is meant to be inlined directly into the message. // Use the "name" field instead. LocalObjectReference *LocalObjectReference `protobuf:"bytes,1,opt,name=local_object_reference,json=localObjectReference,proto3" json:"local_object_reference,omitempty"` // Cloud Run fully managed: not supported // Cloud Run for Anthos: supported // Specify whether the ConfigMap must be defined Optional bool `protobuf:"varint,2,opt,name=optional,proto3" json:"optional,omitempty"` // Cloud Run fully managed: not supported // Cloud Run for Anthos: supported // The ConfigMap to select from. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Cloud Run fully managed: not supported Cloud Run for Anthos: supported ConfigMapEnvSource selects a ConfigMap to populate the environment variables with. The contents of the target ConfigMap's Data field will represent the key-value pairs as environment variables.
func (*ConfigMapEnvSource) Descriptor
deprecated
added in
v0.2.0
func (*ConfigMapEnvSource) Descriptor() ([]byte, []int)
Deprecated: Use ConfigMapEnvSource.ProtoReflect.Descriptor instead.
func (*ConfigMapEnvSource) GetLocalObjectReference ¶ added in v0.2.0
func (x *ConfigMapEnvSource) GetLocalObjectReference() *LocalObjectReference
func (*ConfigMapEnvSource) GetName ¶ added in v0.2.0
func (x *ConfigMapEnvSource) GetName() string
func (*ConfigMapEnvSource) GetOptional ¶ added in v0.2.0
func (x *ConfigMapEnvSource) GetOptional() bool
func (*ConfigMapEnvSource) ProtoMessage ¶ added in v0.2.0
func (*ConfigMapEnvSource) ProtoMessage()
func (*ConfigMapEnvSource) ProtoReflect ¶ added in v0.2.0
func (x *ConfigMapEnvSource) ProtoReflect() protoreflect.Message
func (*ConfigMapEnvSource) Reset ¶ added in v0.2.0
func (x *ConfigMapEnvSource) Reset()
func (*ConfigMapEnvSource) String ¶ added in v0.2.0
func (x *ConfigMapEnvSource) String() string
type ConfigMapKeySelector ¶ added in v0.2.0
type ConfigMapKeySelector struct { // DEPRECATED // This field should not be used directly as it is meant to be inlined directly into the message. // Use the "name" field instead. LocalObjectReference *LocalObjectReference `protobuf:"bytes,1,opt,name=local_object_reference,json=localObjectReference,proto3" json:"local_object_reference,omitempty"` // Cloud Run fully managed: not supported // Cloud Run for Anthos: supported // The key to select. Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` // Cloud Run fully managed: not supported // Cloud Run for Anthos: supported // Specify whether the ConfigMap or its key must be defined Optional bool `protobuf:"varint,3,opt,name=optional,proto3" json:"optional,omitempty"` // Cloud Run fully managed: not supported // Cloud Run for Anthos: supported // The ConfigMap to select from. Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Cloud Run fully managed: not supported Cloud Run for Anthos: supported Selects a key from a ConfigMap.
func (*ConfigMapKeySelector) Descriptor
deprecated
added in
v0.2.0
func (*ConfigMapKeySelector) Descriptor() ([]byte, []int)
Deprecated: Use ConfigMapKeySelector.ProtoReflect.Descriptor instead.
func (*ConfigMapKeySelector) GetKey ¶ added in v0.2.0
func (x *ConfigMapKeySelector) GetKey() string
func (*ConfigMapKeySelector) GetLocalObjectReference ¶ added in v0.2.0
func (x *ConfigMapKeySelector) GetLocalObjectReference() *LocalObjectReference
func (*ConfigMapKeySelector) GetName ¶ added in v0.2.0
func (x *ConfigMapKeySelector) GetName() string
func (*ConfigMapKeySelector) GetOptional ¶ added in v0.2.0
func (x *ConfigMapKeySelector) GetOptional() bool
func (*ConfigMapKeySelector) ProtoMessage ¶ added in v0.2.0
func (*ConfigMapKeySelector) ProtoMessage()
func (*ConfigMapKeySelector) ProtoReflect ¶ added in v0.2.0
func (x *ConfigMapKeySelector) ProtoReflect() protoreflect.Message
func (*ConfigMapKeySelector) Reset ¶ added in v0.2.0
func (x *ConfigMapKeySelector) Reset()
func (*ConfigMapKeySelector) String ¶ added in v0.2.0
func (x *ConfigMapKeySelector) String() string
type ConfigMapVolumeSource ¶ added in v0.2.0
type ConfigMapVolumeSource struct { // Cloud Run fully managed: not supported // Cloud Run for Anthos: supported // Name of the config. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Cloud Run fully managed: not supported // Cloud Run for Anthos: supported // If unspecified, each key-value pair in the Data field of the referenced Secret will be projected // into the volume as a file whose name is the key and content is the value. // If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. // If a key is specified that is not present in the Secret, the volume setup will error unless it is marked optional. Items []*KeyToPath `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"` // Cloud Run fully managed: not supported // Cloud Run for Anthos: supported // Mode bits to use on created files by default. Must be a value between 0 and 0777. // Defaults to 0644. Directories within the path are not affected by this setting. // This might be in conflict with other options that affect the file mode, like fsGroup, // and the result can be other mode bits set. DefaultMode int32 `protobuf:"varint,3,opt,name=default_mode,json=defaultMode,proto3" json:"default_mode,omitempty"` // Cloud Run fully managed: not supported // Cloud Run for Anthos: supported // Specify whether the Secret or its keys must be defined. Optional bool `protobuf:"varint,4,opt,name=optional,proto3" json:"optional,omitempty"` // contains filtered or unexported fields }
Cloud Run fully managed: not supported Cloud Run for Anthos: supported Adapts a ConfigMap into a volume. The contents of the target ConfigMap's Data field will be presented in a volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths.
func (*ConfigMapVolumeSource) Descriptor
deprecated
added in
v0.2.0
func (*ConfigMapVolumeSource) Descriptor() ([]byte, []int)
Deprecated: Use ConfigMapVolumeSource.ProtoReflect.Descriptor instead.
func (*ConfigMapVolumeSource) GetDefaultMode ¶ added in v0.2.0
func (x *ConfigMapVolumeSource) GetDefaultMode() int32
func (*ConfigMapVolumeSource) GetItems ¶ added in v0.2.0
func (x *ConfigMapVolumeSource) GetItems() []*KeyToPath
func (*ConfigMapVolumeSource) GetName ¶ added in v0.2.0
func (x *ConfigMapVolumeSource) GetName() string
func (*ConfigMapVolumeSource) GetOptional ¶ added in v0.2.0
func (x *ConfigMapVolumeSource) GetOptional() bool
func (*ConfigMapVolumeSource) ProtoMessage ¶ added in v0.2.0
func (*ConfigMapVolumeSource) ProtoMessage()
func (*ConfigMapVolumeSource) ProtoReflect ¶ added in v0.2.0
func (x *ConfigMapVolumeSource) ProtoReflect() protoreflect.Message
func (*ConfigMapVolumeSource) Reset ¶ added in v0.2.0
func (x *ConfigMapVolumeSource) Reset()
func (*ConfigMapVolumeSource) String ¶ added in v0.2.0
func (x *ConfigMapVolumeSource) String() string
type Configuration ¶
type Configuration struct { // The API version for this call such as "serving.knative.dev/v1". ApiVersion string `protobuf:"bytes,1,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"` // The kind of resource, in this case always "Configuration" Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"` // Metadata associated with this Configuration, including name, namespace, labels, and annotations. Metadata *ObjectMeta `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"` // Spec holds the desired state of the Configuration (from the client). Spec *ConfigurationSpec `protobuf:"bytes,4,opt,name=spec,proto3" json:"spec,omitempty"` // Status communicates the observed state of the Configuration (from the controller). Status *ConfigurationStatus `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"` // contains filtered or unexported fields }
func (*Configuration) Descriptor
deprecated
func (*Configuration) Descriptor() ([]byte, []int)
Deprecated: Use Configuration.ProtoReflect.Descriptor instead.
func (*Configuration) GetApiVersion ¶
func (x *Configuration) GetApiVersion() string
func (*Configuration) GetKind ¶
func (x *Configuration) GetKind() string
func (*Configuration) GetMetadata ¶
func (x *Configuration) GetMetadata() *ObjectMeta
func (*Configuration) GetSpec ¶
func (x *Configuration) GetSpec() *ConfigurationSpec
func (*Configuration) GetStatus ¶
func (x *Configuration) GetStatus() *ConfigurationStatus
func (*Configuration) ProtoMessage ¶
func (*Configuration) ProtoMessage()
func (*Configuration) ProtoReflect ¶
func (x *Configuration) ProtoReflect() protoreflect.Message
func (*Configuration) Reset ¶
func (x *Configuration) Reset()
func (*Configuration) String ¶
func (x *Configuration) String() string
type ConfigurationSpec ¶
type ConfigurationSpec struct { // Template holds the latest specification for the Revision to be stamped out. Template *RevisionTemplate `protobuf:"bytes,1,opt,name=template,proto3" json:"template,omitempty"` // contains filtered or unexported fields }
func (*ConfigurationSpec) Descriptor
deprecated
func (*ConfigurationSpec) Descriptor() ([]byte, []int)
Deprecated: Use ConfigurationSpec.ProtoReflect.Descriptor instead.
func (*ConfigurationSpec) GetTemplate ¶
func (x *ConfigurationSpec) GetTemplate() *RevisionTemplate
func (*ConfigurationSpec) ProtoMessage ¶
func (*ConfigurationSpec) ProtoMessage()
func (*ConfigurationSpec) ProtoReflect ¶
func (x *ConfigurationSpec) ProtoReflect() protoreflect.Message
func (*ConfigurationSpec) Reset ¶
func (x *ConfigurationSpec) Reset()
func (*ConfigurationSpec) String ¶
func (x *ConfigurationSpec) String() string
type ConfigurationStatus ¶
type ConfigurationStatus struct { // ObservedGeneration is the 'Generation' of the Configuration that was last processed by the controller. // The observed generation is updated even if the controller failed to process the spec and create the Revision. // Clients polling for completed reconciliation should poll until observedGeneration = metadata.generation, // and the Ready condition's status is True or False. ObservedGeneration int32 `protobuf:"varint,1,opt,name=observed_generation,json=observedGeneration,proto3" json:"observed_generation,omitempty"` // LatestCreatedRevisionName is the last revision that was created from this Configuration. // It might not be ready yet, for that use LatestReadyRevisionName. LatestCreatedRevisionName string `` /* 140-byte string literal not displayed */ // LatestReadyRevisionName holds the name of the latest // Revision stamped out from this Configuration that has had its "Ready" condition become "True". LatestReadyRevisionName string `` /* 134-byte string literal not displayed */ // Conditions communicates information about ongoing/complete reconciliation processes that bring the "spec" // inline with the observed state of the world. Conditions []*Condition `protobuf:"bytes,4,rep,name=conditions,proto3" json:"conditions,omitempty"` // contains filtered or unexported fields }
func (*ConfigurationStatus) Descriptor
deprecated
func (*ConfigurationStatus) Descriptor() ([]byte, []int)
Deprecated: Use ConfigurationStatus.ProtoReflect.Descriptor instead.
func (*ConfigurationStatus) GetConditions ¶
func (x *ConfigurationStatus) GetConditions() []*Condition
func (*ConfigurationStatus) GetLatestCreatedRevisionName ¶
func (x *ConfigurationStatus) GetLatestCreatedRevisionName() string
func (*ConfigurationStatus) GetLatestReadyRevisionName ¶
func (x *ConfigurationStatus) GetLatestReadyRevisionName() string
func (*ConfigurationStatus) GetObservedGeneration ¶
func (x *ConfigurationStatus) GetObservedGeneration() int32
func (*ConfigurationStatus) ProtoMessage ¶
func (*ConfigurationStatus) ProtoMessage()
func (*ConfigurationStatus) ProtoReflect ¶
func (x *ConfigurationStatus) ProtoReflect() protoreflect.Message
func (*ConfigurationStatus) Reset ¶
func (x *ConfigurationStatus) Reset()
func (*ConfigurationStatus) String ¶
func (x *ConfigurationStatus) String() string
type ConfigurationsClient ¶
type ConfigurationsClient interface { // Get information about a configuration. GetConfiguration(ctx context.Context, in *GetConfigurationRequest, opts ...grpc.CallOption) (*Configuration, error) // List configurations. ListConfigurations(ctx context.Context, in *ListConfigurationsRequest, opts ...grpc.CallOption) (*ListConfigurationsResponse, error) }
ConfigurationsClient is the client API for Configurations service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewConfigurationsClient ¶
func NewConfigurationsClient(cc grpc.ClientConnInterface) ConfigurationsClient
type ConfigurationsServer ¶
type ConfigurationsServer interface { // Get information about a configuration. GetConfiguration(context.Context, *GetConfigurationRequest) (*Configuration, error) // List configurations. ListConfigurations(context.Context, *ListConfigurationsRequest) (*ListConfigurationsResponse, error) }
ConfigurationsServer is the server API for Configurations service.
type Container ¶ added in v0.2.0
type Container struct { // Name of the container specified as a DNS_LABEL. Currently unused in Cloud Run. // More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#dns-label-names Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Cloud Run fully managed: only supports containers from Google Container Registry // Cloud Run for Anthos: supported // URL of the Container image. More info: https://kubernetes.io/docs/concepts/containers/images Image string `protobuf:"bytes,2,opt,name=image,proto3" json:"image,omitempty"` Command []string `protobuf:"bytes,3,rep,name=command,proto3" json:"command,omitempty"` // Cloud Run fully managed: supported // Cloud Run for Anthos: supported // Arguments to the entrypoint. The docker image's CMD is used if this is not provided. // Variable references $(VAR_NAME) are expanded using the container's environment. // If a variable cannot be resolved, the reference in the input string will be unchanged. // The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). // Escaped references will never be expanded, regardless of whether the variable exists or not. // More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell Args []string `protobuf:"bytes,4,rep,name=args,proto3" json:"args,omitempty"` // Cloud Run fully managed: supported // Cloud Run for Anthos: supported // List of environment variables to set in the container. Env []*EnvVar `protobuf:"bytes,5,rep,name=env,proto3" json:"env,omitempty"` // Cloud Run fully managed: supported // Cloud Run for Anthos: supported // Compute Resources required by this container. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources Resources *ResourceRequirements `protobuf:"bytes,6,opt,name=resources,proto3" json:"resources,omitempty"` // Cloud Run fully managed: not supported // Cloud Run for Anthos: supported // Container's working directory. If not specified, the container runtime's default will be used, // which might be configured in the container image. WorkingDir string `protobuf:"bytes,7,opt,name=working_dir,json=workingDir,proto3" json:"working_dir,omitempty"` // List of ports to expose from the container. Only a single port can be specified. // The specified ports must be listening on all interfaces (0.0.0.0) within the container to be accessible. // If omitted, a port number will be chosen and passed to the container through the PORT environment variable // for the container to listen on. Ports []*ContainerPort `protobuf:"bytes,8,rep,name=ports,proto3" json:"ports,omitempty"` // Cloud Run fully managed: not supported // Cloud Run for Anthos: supported // List of sources to populate environment variables in the container. // The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event // when the container is starting. When a key exists in multiple sources, the value associated with the // last source will take precedence. Values defined by an Env with a duplicate key will take precedence. // Cannot be updated. EnvFrom []*EnvFromSource `protobuf:"bytes,9,rep,name=env_from,json=envFrom,proto3" json:"env_from,omitempty"` // Cloud Run fully managed: supported // Volume to mount into the container's filesystem. Only supports SecretVolumeSources. // Cloud Run for Anthos: supported // Pod volumes to mount into the container's filesystem. VolumeMounts []*VolumeMount `protobuf:"bytes,10,rep,name=volume_mounts,json=volumeMounts,proto3" json:"volume_mounts,omitempty"` // Cloud Run fully managed: not supported // Cloud Run for Anthos: supported // Periodic probe of container liveness. Container will be restarted if the probe fails. // More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes LivenessProbe *Probe `protobuf:"bytes,11,opt,name=liveness_probe,json=livenessProbe,proto3" json:"liveness_probe,omitempty"` // Cloud Run fully managed: not supported // Cloud Run for Anthos: supported // Periodic probe of container service readiness. Container will be removed from service endpoints // if the probe fails. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes ReadinessProbe *Probe `protobuf:"bytes,12,opt,name=readiness_probe,json=readinessProbe,proto3" json:"readiness_probe,omitempty"` // Cloud Run fully managed: not supported // Cloud Run for Anthos: not supported // Startup probe of application within the container. All other probes are disabled if a startup probe is provided, // until it succeeds. Container will not be added to service endpoints if the probe fails. // More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes StartupProbe *Probe `protobuf:"bytes,13,opt,name=startup_probe,json=startupProbe,proto3" json:"startup_probe,omitempty"` // Cloud Run fully managed: not supported // Cloud Run for Anthos: supported // Path at which the file to which the container's termination message will be written is mounted into the // container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. // Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be // limited to 12kb. Defaults to /dev/termination-log. TerminationMessagePath string `` /* 130-byte string literal not displayed */ // Cloud Run fully managed: not supported // Cloud Run for Anthos: supported // Indicate how the termination message should be populated. File will use the contents of // terminationMessagePath to populate the container status message on both success and failure. // FallbackToLogsOnError will use the last chunk of container log output if the termination message // file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, // whichever is smaller. Defaults to File. Cannot be updated. TerminationMessagePolicy string `` /* 136-byte string literal not displayed */ // Cloud Run fully managed: not supported // Cloud Run for Anthos: supported // Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, // or IfNotPresent otherwise. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images ImagePullPolicy string `protobuf:"bytes,16,opt,name=image_pull_policy,json=imagePullPolicy,proto3" json:"image_pull_policy,omitempty"` // Cloud Run fully managed: not supported // Cloud Run for Anthos: supported // Security options the pod should run with. // More info: https://kubernetes.io/docs/concepts/policy/security-context/ // More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ SecurityContext *SecurityContext `protobuf:"bytes,17,opt,name=security_context,json=securityContext,proto3" json:"security_context,omitempty"` // contains filtered or unexported fields }
A single application container. This specifies both the container to run, the command to run in the container and the arguments to supply to it. Note that additional arguments may be supplied by the system to the container at runtime.
func (*Container) Descriptor
deprecated
added in
v0.2.0
func (*Container) GetCommand ¶ added in v0.2.0
func (*Container) GetEnvFrom ¶ added in v0.2.0
func (x *Container) GetEnvFrom() []*EnvFromSource
func (*Container) GetImagePullPolicy ¶ added in v0.2.0
func (*Container) GetLivenessProbe ¶ added in v0.2.0
func (*Container) GetPorts ¶ added in v0.2.0
func (x *Container) GetPorts() []*ContainerPort
func (*Container) GetReadinessProbe ¶ added in v0.2.0
func (*Container) GetResources ¶ added in v0.2.1
func (x *Container) GetResources() *ResourceRequirements
func (*Container) GetSecurityContext ¶ added in v0.2.0
func (x *Container) GetSecurityContext() *SecurityContext
func (*Container) GetStartupProbe ¶ added in v0.2.0
func (*Container) GetTerminationMessagePath ¶ added in v0.2.0
func (*Container) GetTerminationMessagePolicy ¶ added in v0.2.0
func (*Container) GetVolumeMounts ¶ added in v0.2.0
func (x *Container) GetVolumeMounts() []*VolumeMount
func (*Container) GetWorkingDir ¶ added in v0.2.0
func (*Container) ProtoMessage ¶ added in v0.2.0
func (*Container) ProtoMessage()
func (*Container) ProtoReflect ¶ added in v0.2.0
func (x *Container) ProtoReflect() protoreflect.Message
type ContainerPort ¶ added in v0.2.0
type ContainerPort struct { // If specified, used to specify which protocol to use. Allowed values are "http1" and "h2c". Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Port number the container listens on. This must be a valid port number, 0 < x < 65536. ContainerPort int32 `protobuf:"varint,2,opt,name=container_port,json=containerPort,proto3" json:"container_port,omitempty"` // Cloud Run fully managed: not supported // Cloud Run for Anthos: supported // Protocol for port. Must be "TCP". Defaults to "TCP". Protocol string `protobuf:"bytes,3,opt,name=protocol,proto3" json:"protocol,omitempty"` // contains filtered or unexported fields }
ContainerPort represents a network port in a single container.
func (*ContainerPort) Descriptor
deprecated
added in
v0.2.0
func (*ContainerPort) Descriptor() ([]byte, []int)
Deprecated: Use ContainerPort.ProtoReflect.Descriptor instead.
func (*ContainerPort) GetContainerPort ¶ added in v0.2.0
func (x *ContainerPort) GetContainerPort() int32
func (*ContainerPort) GetName ¶ added in v0.2.0
func (x *ContainerPort) GetName() string
func (*ContainerPort) GetProtocol ¶ added in v0.2.0
func (x *ContainerPort) GetProtocol() string
func (*ContainerPort) ProtoMessage ¶ added in v0.2.0
func (*ContainerPort) ProtoMessage()
func (*ContainerPort) ProtoReflect ¶ added in v0.2.0
func (x *ContainerPort) ProtoReflect() protoreflect.Message
func (*ContainerPort) Reset ¶ added in v0.2.0
func (x *ContainerPort) Reset()
func (*ContainerPort) String ¶ added in v0.2.0
func (x *ContainerPort) String() string
type CreateDomainMappingRequest ¶
type CreateDomainMappingRequest struct { // The namespace in which the domain mapping should be created. For Cloud Run (fully managed), replace {namespace_id} with the project ID or number. // Authorization requires the following IAM permission on the specified resource parent: // run.services.create Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // The domain mapping instance to create. DomainMapping *DomainMapping `protobuf:"bytes,2,opt,name=domain_mapping,json=domainMapping,proto3" json:"domain_mapping,omitempty"` // Indicates that the server should validate the request and populate default values without persisting the request. // Supported values: all DryRun string `protobuf:"bytes,3,opt,name=dry_run,json=dryRun,proto3" json:"dry_run,omitempty"` // contains filtered or unexported fields }
func (*CreateDomainMappingRequest) Descriptor
deprecated
func (*CreateDomainMappingRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateDomainMappingRequest.ProtoReflect.Descriptor instead.
func (*CreateDomainMappingRequest) GetDomainMapping ¶
func (x *CreateDomainMappingRequest) GetDomainMapping() *DomainMapping
func (*CreateDomainMappingRequest) GetDryRun ¶
func (x *CreateDomainMappingRequest) GetDryRun() string
func (*CreateDomainMappingRequest) GetParent ¶
func (x *CreateDomainMappingRequest) GetParent() string
func (*CreateDomainMappingRequest) ProtoMessage ¶
func (*CreateDomainMappingRequest) ProtoMessage()
func (*CreateDomainMappingRequest) ProtoReflect ¶
func (x *CreateDomainMappingRequest) ProtoReflect() protoreflect.Message
func (*CreateDomainMappingRequest) Reset ¶
func (x *CreateDomainMappingRequest) Reset()
func (*CreateDomainMappingRequest) String ¶
func (x *CreateDomainMappingRequest) String() string
type CreateServiceRequest ¶
type CreateServiceRequest struct { // The namespace in which the service should be created. // For Cloud Run (fully managed), replace {namespace_id} with the project ID or number. // Authorization requires the following IAM permission on the specified resource parent: // run.services.create Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // The service instance to create. Service *Service `protobuf:"bytes,2,opt,name=service,proto3" json:"service,omitempty"` // Indicates that the server should validate the request and populate default values without persisting the request. // Supported values: all DryRun string `protobuf:"bytes,3,opt,name=dry_run,json=dryRun,proto3" json:"dry_run,omitempty"` // contains filtered or unexported fields }
func (*CreateServiceRequest) Descriptor
deprecated
func (*CreateServiceRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateServiceRequest.ProtoReflect.Descriptor instead.
func (*CreateServiceRequest) GetDryRun ¶
func (x *CreateServiceRequest) GetDryRun() string
func (*CreateServiceRequest) GetParent ¶
func (x *CreateServiceRequest) GetParent() string
func (*CreateServiceRequest) GetService ¶
func (x *CreateServiceRequest) GetService() *Service
func (*CreateServiceRequest) ProtoMessage ¶
func (*CreateServiceRequest) ProtoMessage()
func (*CreateServiceRequest) ProtoReflect ¶
func (x *CreateServiceRequest) ProtoReflect() protoreflect.Message
func (*CreateServiceRequest) Reset ¶
func (x *CreateServiceRequest) Reset()
func (*CreateServiceRequest) String ¶
func (x *CreateServiceRequest) String() string
type DeleteDomainMappingRequest ¶
type DeleteDomainMappingRequest struct { // The name of the domain mapping to delete. For Cloud Run (fully managed), replace {namespace_id} with the project ID or number. // Authorization requires the following IAM permission on the specified resource name: // run.services.delete Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Specifies the propagation policy of delete. Cloud Run currently ignores this setting, and deletes in the background. // Please see kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/ for more information. PropagationPolicy string `protobuf:"bytes,2,opt,name=propagation_policy,json=propagationPolicy,proto3" json:"propagation_policy,omitempty"` // Cloud Run currently ignores this parameter. Kind string `protobuf:"bytes,3,opt,name=kind,proto3" json:"kind,omitempty"` // Cloud Run currently ignores this parameter. ApiVersion string `protobuf:"bytes,4,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"` // Indicates that the server should validate the request and populate default values without persisting the request. // Supported values: all DryRun string `protobuf:"bytes,5,opt,name=dry_run,json=dryRun,proto3" json:"dry_run,omitempty"` // contains filtered or unexported fields }
func (*DeleteDomainMappingRequest) Descriptor
deprecated
func (*DeleteDomainMappingRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteDomainMappingRequest.ProtoReflect.Descriptor instead.
func (*DeleteDomainMappingRequest) GetApiVersion ¶
func (x *DeleteDomainMappingRequest) GetApiVersion() string
func (*DeleteDomainMappingRequest) GetDryRun ¶
func (x *DeleteDomainMappingRequest) GetDryRun() string
func (*DeleteDomainMappingRequest) GetKind ¶
func (x *DeleteDomainMappingRequest) GetKind() string
func (*DeleteDomainMappingRequest) GetName ¶
func (x *DeleteDomainMappingRequest) GetName() string
func (*DeleteDomainMappingRequest) GetPropagationPolicy ¶
func (x *DeleteDomainMappingRequest) GetPropagationPolicy() string
func (*DeleteDomainMappingRequest) ProtoMessage ¶
func (*DeleteDomainMappingRequest) ProtoMessage()
func (*DeleteDomainMappingRequest) ProtoReflect ¶
func (x *DeleteDomainMappingRequest) ProtoReflect() protoreflect.Message
func (*DeleteDomainMappingRequest) Reset ¶
func (x *DeleteDomainMappingRequest) Reset()
func (*DeleteDomainMappingRequest) String ¶
func (x *DeleteDomainMappingRequest) String() string
type DeleteRevisionRequest ¶
type DeleteRevisionRequest struct { // The name of the revision to delete. For Cloud Run (fully managed), replace {namespace_id} with the project ID or number. // Authorization requires the following IAM permission on the specified resource name: // run.revisions.delete Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Specifies the propagation policy of delete. Cloud Run currently ignores this setting, and deletes in the background. // Please see kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/ for more information. PropagationPolicy string `protobuf:"bytes,2,opt,name=propagation_policy,json=propagationPolicy,proto3" json:"propagation_policy,omitempty"` // Cloud Run currently ignores this parameter. Kind string `protobuf:"bytes,3,opt,name=kind,proto3" json:"kind,omitempty"` // Cloud Run currently ignores this parameter. ApiVersion string `protobuf:"bytes,4,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"` // Indicates that the server should validate the request and populate default values without persisting the request. // Supported values: all DryRun string `protobuf:"bytes,5,opt,name=dry_run,json=dryRun,proto3" json:"dry_run,omitempty"` // contains filtered or unexported fields }
func (*DeleteRevisionRequest) Descriptor
deprecated
func (*DeleteRevisionRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteRevisionRequest.ProtoReflect.Descriptor instead.
func (*DeleteRevisionRequest) GetApiVersion ¶
func (x *DeleteRevisionRequest) GetApiVersion() string
func (*DeleteRevisionRequest) GetDryRun ¶
func (x *DeleteRevisionRequest) GetDryRun() string
func (*DeleteRevisionRequest) GetKind ¶
func (x *DeleteRevisionRequest) GetKind() string
func (*DeleteRevisionRequest) GetName ¶
func (x *DeleteRevisionRequest) GetName() string
func (*DeleteRevisionRequest) GetPropagationPolicy ¶
func (x *DeleteRevisionRequest) GetPropagationPolicy() string
func (*DeleteRevisionRequest) ProtoMessage ¶
func (*DeleteRevisionRequest) ProtoMessage()
func (*DeleteRevisionRequest) ProtoReflect ¶
func (x *DeleteRevisionRequest) ProtoReflect() protoreflect.Message
func (*DeleteRevisionRequest) Reset ¶
func (x *DeleteRevisionRequest) Reset()
func (*DeleteRevisionRequest) String ¶
func (x *DeleteRevisionRequest) String() string
type DeleteServiceRequest ¶
type DeleteServiceRequest struct { // The name of the service to delete. For Cloud Run (fully managed), replace {namespace_id} with the project ID or number. // Authorization requires the following IAM permission on the specified resource name: // run.services.delete Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Specifies the propagation policy of delete. // Cloud Run currently ignores this setting, and deletes in the background. // Please see kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/ for more information. PropagationPolicy string `protobuf:"bytes,2,opt,name=propagation_policy,json=propagationPolicy,proto3" json:"propagation_policy,omitempty"` // Cloud Run currently ignores this parameter. Kind string `protobuf:"bytes,3,opt,name=kind,proto3" json:"kind,omitempty"` // Cloud Run currently ignores this parameter. ApiVersion string `protobuf:"bytes,4,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"` // Indicates that the server should validate the request and populate default values without persisting the request. // Supported values: all DryRun string `protobuf:"bytes,5,opt,name=dry_run,json=dryRun,proto3" json:"dry_run,omitempty"` // contains filtered or unexported fields }
func (*DeleteServiceRequest) Descriptor
deprecated
func (*DeleteServiceRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteServiceRequest.ProtoReflect.Descriptor instead.
func (*DeleteServiceRequest) GetApiVersion ¶
func (x *DeleteServiceRequest) GetApiVersion() string
func (*DeleteServiceRequest) GetDryRun ¶
func (x *DeleteServiceRequest) GetDryRun() string
func (*DeleteServiceRequest) GetKind ¶
func (x *DeleteServiceRequest) GetKind() string
func (*DeleteServiceRequest) GetName ¶
func (x *DeleteServiceRequest) GetName() string
func (*DeleteServiceRequest) GetPropagationPolicy ¶
func (x *DeleteServiceRequest) GetPropagationPolicy() string
func (*DeleteServiceRequest) ProtoMessage ¶
func (*DeleteServiceRequest) ProtoMessage()
func (*DeleteServiceRequest) ProtoReflect ¶
func (x *DeleteServiceRequest) ProtoReflect() protoreflect.Message
func (*DeleteServiceRequest) Reset ¶
func (x *DeleteServiceRequest) Reset()
func (*DeleteServiceRequest) String ¶
func (x *DeleteServiceRequest) String() string
type DomainMapping ¶
type DomainMapping struct { // The API version for this call such as "domains.cloudrun.com/v1". ApiVersion string `protobuf:"bytes,1,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"` // The kind of this resource, in this case "DomainMapping". Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"` // Metadata associated with this DomainMapping. Metadata *ObjectMeta `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"` // The spec for this DomainMapping. Spec *DomainMappingSpec `protobuf:"bytes,4,opt,name=spec,proto3" json:"spec,omitempty"` // The current status of the DomainMapping. Status *DomainMappingStatus `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"` // contains filtered or unexported fields }
func (*DomainMapping) Descriptor
deprecated
func (*DomainMapping) Descriptor() ([]byte, []int)
Deprecated: Use DomainMapping.ProtoReflect.Descriptor instead.
func (*DomainMapping) GetApiVersion ¶
func (x *DomainMapping) GetApiVersion() string
func (*DomainMapping) GetKind ¶
func (x *DomainMapping) GetKind() string
func (*DomainMapping) GetMetadata ¶
func (x *DomainMapping) GetMetadata() *ObjectMeta
func (*DomainMapping) GetSpec ¶
func (x *DomainMapping) GetSpec() *DomainMappingSpec
func (*DomainMapping) GetStatus ¶
func (x *DomainMapping) GetStatus() *DomainMappingStatus
func (*DomainMapping) ProtoMessage ¶
func (*DomainMapping) ProtoMessage()
func (*DomainMapping) ProtoReflect ¶
func (x *DomainMapping) ProtoReflect() protoreflect.Message
func (*DomainMapping) Reset ¶
func (x *DomainMapping) Reset()
func (*DomainMapping) String ¶
func (x *DomainMapping) String() string
type DomainMappingSpec ¶
type DomainMappingSpec struct { // The name of the Knative Route that this DomainMapping applies to. The route must exist. RouteName string `protobuf:"bytes,1,opt,name=route_name,json=routeName,proto3" json:"route_name,omitempty"` // If set, the mapping will override any mapping set before this spec was set. // It is recommended that the user leaves this empty to receive an error warning about a potential conflict // and only set it once the respective UI has given such a warning. ForceOverride bool `protobuf:"varint,3,opt,name=force_override,json=forceOverride,proto3" json:"force_override,omitempty"` // contains filtered or unexported fields }
func (*DomainMappingSpec) Descriptor
deprecated
func (*DomainMappingSpec) Descriptor() ([]byte, []int)
Deprecated: Use DomainMappingSpec.ProtoReflect.Descriptor instead.
func (*DomainMappingSpec) GetForceOverride ¶
func (x *DomainMappingSpec) GetForceOverride() bool
func (*DomainMappingSpec) GetRouteName ¶
func (x *DomainMappingSpec) GetRouteName() string
func (*DomainMappingSpec) ProtoMessage ¶
func (*DomainMappingSpec) ProtoMessage()
func (*DomainMappingSpec) ProtoReflect ¶
func (x *DomainMappingSpec) ProtoReflect() protoreflect.Message
func (*DomainMappingSpec) Reset ¶
func (x *DomainMappingSpec) Reset()
func (*DomainMappingSpec) String ¶
func (x *DomainMappingSpec) String() string
type DomainMappingSpec_CertificateMode ¶
type DomainMappingSpec_CertificateMode int32
The mode of the certificate.
const ( DomainMappingSpec_CERTIFICATE_MODE_UNSPECIFIED DomainMappingSpec_CertificateMode = 0 // Do not provision an HTTPS certificate. DomainMappingSpec_NONE DomainMappingSpec_CertificateMode = 1 // Automatically provisions an HTTPS certificate via GoogleCA or LetsEncrypt. DomainMappingSpec_AUTOMATIC DomainMappingSpec_CertificateMode = 2 )
func (DomainMappingSpec_CertificateMode) Descriptor ¶
func (DomainMappingSpec_CertificateMode) Descriptor() protoreflect.EnumDescriptor
func (DomainMappingSpec_CertificateMode) Enum ¶
func (x DomainMappingSpec_CertificateMode) Enum() *DomainMappingSpec_CertificateMode
func (DomainMappingSpec_CertificateMode) EnumDescriptor
deprecated
func (DomainMappingSpec_CertificateMode) EnumDescriptor() ([]byte, []int)
Deprecated: Use DomainMappingSpec_CertificateMode.Descriptor instead.
func (DomainMappingSpec_CertificateMode) Number ¶
func (x DomainMappingSpec_CertificateMode) Number() protoreflect.EnumNumber
func (DomainMappingSpec_CertificateMode) String ¶
func (x DomainMappingSpec_CertificateMode) String() string
func (DomainMappingSpec_CertificateMode) Type ¶
func (DomainMappingSpec_CertificateMode) Type() protoreflect.EnumType
type DomainMappingStatus ¶
type DomainMappingStatus struct { // Array of observed DomainMappingConditions, indicating the current state of the DomainMapping. Conditions []*Condition `protobuf:"bytes,1,rep,name=conditions,proto3" json:"conditions,omitempty"` // ObservedGeneration is the 'Generation' of the DomainMapping that was last processed by the controller. // Clients polling for completed reconciliation should poll until observedGeneration = metadata.generation // and the Ready condition's status is True or False. ObservedGeneration int32 `protobuf:"varint,2,opt,name=observed_generation,json=observedGeneration,proto3" json:"observed_generation,omitempty"` // The resource records required to configure this domain mapping. // These records must be added to the domain's DNS configuration in order to serve the application via this domain mapping. ResourceRecords []*ResourceRecord `protobuf:"bytes,3,rep,name=resource_records,json=resourceRecords,proto3" json:"resource_records,omitempty"` // The name of the route that the mapping currently points to. MappedRouteName string `protobuf:"bytes,4,opt,name=mapped_route_name,json=mappedRouteName,proto3" json:"mapped_route_name,omitempty"` // Cloud Run fully managed: not supported // Cloud Run on GKE: supported // Holds the URL that will serve the traffic of the DomainMapping. Url string `protobuf:"bytes,5,opt,name=url,proto3" json:"url,omitempty"` // contains filtered or unexported fields }
func (*DomainMappingStatus) Descriptor
deprecated
func (*DomainMappingStatus) Descriptor() ([]byte, []int)
Deprecated: Use DomainMappingStatus.ProtoReflect.Descriptor instead.
func (*DomainMappingStatus) GetConditions ¶
func (x *DomainMappingStatus) GetConditions() []*Condition
func (*DomainMappingStatus) GetMappedRouteName ¶
func (x *DomainMappingStatus) GetMappedRouteName() string
func (*DomainMappingStatus) GetObservedGeneration ¶
func (x *DomainMappingStatus) GetObservedGeneration() int32
func (*DomainMappingStatus) GetResourceRecords ¶
func (x *DomainMappingStatus) GetResourceRecords() []*ResourceRecord
func (*DomainMappingStatus) GetUrl ¶
func (x *DomainMappingStatus) GetUrl() string
func (*DomainMappingStatus) ProtoMessage ¶
func (*DomainMappingStatus) ProtoMessage()
func (*DomainMappingStatus) ProtoReflect ¶
func (x *DomainMappingStatus) ProtoReflect() protoreflect.Message
func (*DomainMappingStatus) Reset ¶
func (x *DomainMappingStatus) Reset()
func (*DomainMappingStatus) String ¶
func (x *DomainMappingStatus) String() string
type DomainMappingsClient ¶
type DomainMappingsClient interface { // Create a new domain mapping. CreateDomainMapping(ctx context.Context, in *CreateDomainMappingRequest, opts ...grpc.CallOption) (*DomainMapping, error) // Delete a domain mapping. DeleteDomainMapping(ctx context.Context, in *DeleteDomainMappingRequest, opts ...grpc.CallOption) (*Status, error) // Get information about a domain mapping. GetDomainMapping(ctx context.Context, in *GetDomainMappingRequest, opts ...grpc.CallOption) (*DomainMapping, error) // List domain mappings. ListDomainMappings(ctx context.Context, in *ListDomainMappingsRequest, opts ...grpc.CallOption) (*ListDomainMappingsResponse, error) }
DomainMappingsClient is the client API for DomainMappings service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewDomainMappingsClient ¶
func NewDomainMappingsClient(cc grpc.ClientConnInterface) DomainMappingsClient
type DomainMappingsServer ¶
type DomainMappingsServer interface { // Create a new domain mapping. CreateDomainMapping(context.Context, *CreateDomainMappingRequest) (*DomainMapping, error) // Delete a domain mapping. DeleteDomainMapping(context.Context, *DeleteDomainMappingRequest) (*Status, error) // Get information about a domain mapping. GetDomainMapping(context.Context, *GetDomainMappingRequest) (*DomainMapping, error) // List domain mappings. ListDomainMappings(context.Context, *ListDomainMappingsRequest) (*ListDomainMappingsResponse, error) }
DomainMappingsServer is the server API for DomainMappings service.
type EnvFromSource ¶ added in v0.2.0
type EnvFromSource struct { // Cloud Run fully managed: not supported // Cloud Run for Anthos: supported // An optional identifier to prepend to each key in the ConfigMap. Must be a C_IDENTIFIER. Prefix string `protobuf:"bytes,1,opt,name=prefix,proto3" json:"prefix,omitempty"` // Cloud Run fully managed: not supported // Cloud Run for Anthos: supported // The ConfigMap to select from ConfigMapRef *ConfigMapEnvSource `protobuf:"bytes,2,opt,name=config_map_ref,json=configMapRef,proto3" json:"config_map_ref,omitempty"` // Cloud Run fully managed: not supported // Cloud Run for Anthos: supported // The Secret to select from SecretRef *SecretEnvSource `protobuf:"bytes,3,opt,name=secret_ref,json=secretRef,proto3" json:"secret_ref,omitempty"` // contains filtered or unexported fields }
Cloud Run fully managed: not supported Cloud Run for Anthos: supported EnvFromSource represents the source of a set of ConfigMaps
func (*EnvFromSource) Descriptor
deprecated
added in
v0.2.0
func (*EnvFromSource) Descriptor() ([]byte, []int)
Deprecated: Use EnvFromSource.ProtoReflect.Descriptor instead.
func (*EnvFromSource) GetConfigMapRef ¶ added in v0.2.0
func (x *EnvFromSource) GetConfigMapRef() *ConfigMapEnvSource
func (*EnvFromSource) GetPrefix ¶ added in v0.2.0
func (x *EnvFromSource) GetPrefix() string
func (*EnvFromSource) GetSecretRef ¶ added in v0.2.0
func (x *EnvFromSource) GetSecretRef() *SecretEnvSource
func (*EnvFromSource) ProtoMessage ¶ added in v0.2.0
func (*EnvFromSource) ProtoMessage()
func (*EnvFromSource) ProtoReflect ¶ added in v0.2.0
func (x *EnvFromSource) ProtoReflect() protoreflect.Message
func (*EnvFromSource) Reset ¶ added in v0.2.0
func (x *EnvFromSource) Reset()
func (*EnvFromSource) String ¶ added in v0.2.0
func (x *EnvFromSource) String() string
type EnvVar ¶ added in v0.2.0
type EnvVar struct { // Name of the environment variable. Must be a C_IDENTIFIER. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Variable references $(VAR_NAME) are expanded using the previous defined environment variables in the container // and any route environment variables. If a variable cannot be resolved, the reference in the input string will // be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). // Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to "". Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // Cloud Run fully managed: supported // Source for the environment variable's value. Only supports secret_key_ref. // Cloud Run for Anthos: supported // Source for the environment variable's value. Cannot be used if value is not empty. ValueFrom *EnvVarSource `protobuf:"bytes,3,opt,name=value_from,json=valueFrom,proto3" json:"value_from,omitempty"` // contains filtered or unexported fields }
EnvVar represents an environment variable present in a Container.
func (*EnvVar) Descriptor
deprecated
added in
v0.2.0
func (*EnvVar) GetValueFrom ¶ added in v0.2.0
func (x *EnvVar) GetValueFrom() *EnvVarSource
func (*EnvVar) ProtoMessage ¶ added in v0.2.0
func (*EnvVar) ProtoMessage()
func (*EnvVar) ProtoReflect ¶ added in v0.2.0
func (x *EnvVar) ProtoReflect() protoreflect.Message
type EnvVarSource ¶ added in v0.2.0
type EnvVarSource struct { // Cloud Run fully managed: not supported // Cloud Run for Anthos: supported // Selects a key of a ConfigMap. ConfigMapKeyRef *ConfigMapKeySelector `protobuf:"bytes,1,opt,name=config_map_key_ref,json=configMapKeyRef,proto3" json:"config_map_key_ref,omitempty"` // Cloud Run fully managed: supported. // Selects a key (version) of a secret in Secret Manager. // Cloud Run for Anthos: supported. // Selects a key of a secret in the pod's namespace. SecretKeyRef *SecretKeySelector `protobuf:"bytes,2,opt,name=secret_key_ref,json=secretKeyRef,proto3" json:"secret_key_ref,omitempty"` // contains filtered or unexported fields }
Cloud Run fully managed: not supported Cloud Run for Anthos: supported EnvVarSource represents a source for the value of an EnvVar.
func (*EnvVarSource) Descriptor
deprecated
added in
v0.2.0
func (*EnvVarSource) Descriptor() ([]byte, []int)
Deprecated: Use EnvVarSource.ProtoReflect.Descriptor instead.
func (*EnvVarSource) GetConfigMapKeyRef ¶ added in v0.2.0
func (x *EnvVarSource) GetConfigMapKeyRef() *ConfigMapKeySelector
func (*EnvVarSource) GetSecretKeyRef ¶ added in v0.2.0
func (x *EnvVarSource) GetSecretKeyRef() *SecretKeySelector
func (*EnvVarSource) ProtoMessage ¶ added in v0.2.0
func (*EnvVarSource) ProtoMessage()
func (*EnvVarSource) ProtoReflect ¶ added in v0.2.0
func (x *EnvVarSource) ProtoReflect() protoreflect.Message
func (*EnvVarSource) Reset ¶ added in v0.2.0
func (x *EnvVarSource) Reset()
func (*EnvVarSource) String ¶ added in v0.2.0
func (x *EnvVarSource) String() string
type ExecAction ¶ added in v0.2.0
type ExecAction struct { // Cloud Run fully managed: not supported // Cloud Run for Anthos: supported // Command is the command line to execute inside the container, the working directory for the command // is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, // so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out // to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. Command []string `protobuf:"bytes,1,rep,name=command,proto3" json:"command,omitempty"` // contains filtered or unexported fields }
Cloud Run fully managed: not supported Cloud Run for Anthos: supported ExecAction describes a "run in container" action.
func (*ExecAction) Descriptor
deprecated
added in
v0.2.0
func (*ExecAction) Descriptor() ([]byte, []int)
Deprecated: Use ExecAction.ProtoReflect.Descriptor instead.
func (*ExecAction) GetCommand ¶ added in v0.2.0
func (x *ExecAction) GetCommand() []string
func (*ExecAction) ProtoMessage ¶ added in v0.2.0
func (*ExecAction) ProtoMessage()
func (*ExecAction) ProtoReflect ¶ added in v0.2.0
func (x *ExecAction) ProtoReflect() protoreflect.Message
func (*ExecAction) Reset ¶ added in v0.2.0
func (x *ExecAction) Reset()
func (*ExecAction) String ¶ added in v0.2.0
func (x *ExecAction) String() string
type GetConfigurationRequest ¶
type GetConfigurationRequest struct { // The name of the configuration to retrieve. For Cloud Run (fully managed), replace {namespace_id} with the project ID or number. // Authorization requires the following IAM permission on the specified resource name: // run.configurations.get Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GetConfigurationRequest) Descriptor
deprecated
func (*GetConfigurationRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetConfigurationRequest.ProtoReflect.Descriptor instead.
func (*GetConfigurationRequest) GetName ¶
func (x *GetConfigurationRequest) GetName() string
func (*GetConfigurationRequest) ProtoMessage ¶
func (*GetConfigurationRequest) ProtoMessage()
func (*GetConfigurationRequest) ProtoReflect ¶
func (x *GetConfigurationRequest) ProtoReflect() protoreflect.Message
func (*GetConfigurationRequest) Reset ¶
func (x *GetConfigurationRequest) Reset()
func (*GetConfigurationRequest) String ¶
func (x *GetConfigurationRequest) String() string
type GetDomainMappingRequest ¶
type GetDomainMappingRequest struct { // The name of the domain mapping to retrieve. For Cloud Run (fully managed), replace {namespace_id} with the project ID or number. // Authorization requires the following IAM permission on the specified resource name: // run.services.get Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GetDomainMappingRequest) Descriptor
deprecated
func (*GetDomainMappingRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetDomainMappingRequest.ProtoReflect.Descriptor instead.
func (*GetDomainMappingRequest) GetName ¶
func (x *GetDomainMappingRequest) GetName() string
func (*GetDomainMappingRequest) ProtoMessage ¶
func (*GetDomainMappingRequest) ProtoMessage()
func (*GetDomainMappingRequest) ProtoReflect ¶
func (x *GetDomainMappingRequest) ProtoReflect() protoreflect.Message
func (*GetDomainMappingRequest) Reset ¶
func (x *GetDomainMappingRequest) Reset()
func (*GetDomainMappingRequest) String ¶
func (x *GetDomainMappingRequest) String() string
type GetRevisionRequest ¶
type GetRevisionRequest struct { // The name of the revision to retrieve. For Cloud Run (fully managed), replace {namespace_id} with the project ID or number. // Authorization requires the following IAM permission on the specified resource name: // run.revisions.get Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GetRevisionRequest) Descriptor
deprecated
func (*GetRevisionRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRevisionRequest.ProtoReflect.Descriptor instead.
func (*GetRevisionRequest) GetName ¶
func (x *GetRevisionRequest) GetName() string
func (*GetRevisionRequest) ProtoMessage ¶
func (*GetRevisionRequest) ProtoMessage()
func (*GetRevisionRequest) ProtoReflect ¶
func (x *GetRevisionRequest) ProtoReflect() protoreflect.Message
func (*GetRevisionRequest) Reset ¶
func (x *GetRevisionRequest) Reset()
func (*GetRevisionRequest) String ¶
func (x *GetRevisionRequest) String() string
type GetRouteRequest ¶
type GetRouteRequest struct { // The name of the route to retrieve. For Cloud Run (fully managed), replace {namespace_id} with the project ID or number. // Authorization requires the following IAM permission on the specified resource name: // run.routes.get Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GetRouteRequest) Descriptor
deprecated
func (*GetRouteRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRouteRequest.ProtoReflect.Descriptor instead.
func (*GetRouteRequest) GetName ¶
func (x *GetRouteRequest) GetName() string
func (*GetRouteRequest) ProtoMessage ¶
func (*GetRouteRequest) ProtoMessage()
func (*GetRouteRequest) ProtoReflect ¶
func (x *GetRouteRequest) ProtoReflect() protoreflect.Message
func (*GetRouteRequest) Reset ¶
func (x *GetRouteRequest) Reset()
func (*GetRouteRequest) String ¶
func (x *GetRouteRequest) String() string
type GetServiceRequest ¶
type GetServiceRequest struct { // The name of the service to retrieve. For Cloud Run (fully managed), replace {namespace_id} with the project ID or number. // Authorization requires the following IAM permission on the specified resource name: // run.services.get Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GetServiceRequest) Descriptor
deprecated
func (*GetServiceRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetServiceRequest.ProtoReflect.Descriptor instead.
func (*GetServiceRequest) GetName ¶
func (x *GetServiceRequest) GetName() string
func (*GetServiceRequest) ProtoMessage ¶
func (*GetServiceRequest) ProtoMessage()
func (*GetServiceRequest) ProtoReflect ¶
func (x *GetServiceRequest) ProtoReflect() protoreflect.Message
func (*GetServiceRequest) Reset ¶
func (x *GetServiceRequest) Reset()
func (*GetServiceRequest) String ¶
func (x *GetServiceRequest) String() string
type HTTPGetAction ¶ added in v0.2.0
type HTTPGetAction struct { // Cloud Run fully managed: not supported // Cloud Run for Anthos: supported // Path to access on the HTTP server. Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` // Cloud Run fully managed: not supported // Cloud Run for Anthos: supported // Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. Host string `protobuf:"bytes,2,opt,name=host,proto3" json:"host,omitempty"` // Cloud Run fully managed: not supported // Cloud Run for Anthos: supported // Scheme to use for connecting to the host. Defaults to HTTP. Scheme string `protobuf:"bytes,3,opt,name=scheme,proto3" json:"scheme,omitempty"` // Cloud Run fully managed: not supported // Cloud Run for Anthos: supported // Custom headers to set in the request. HTTP allows repeated headers. HttpHeaders []*HTTPHeader `protobuf:"bytes,4,rep,name=http_headers,json=httpHeaders,proto3" json:"http_headers,omitempty"` // contains filtered or unexported fields }
Cloud Run fully managed: not supported Cloud Run for Anthos: supported HTTPGetAction describes an action based on HTTP Get requests.
func (*HTTPGetAction) Descriptor
deprecated
added in
v0.2.0
func (*HTTPGetAction) Descriptor() ([]byte, []int)
Deprecated: Use HTTPGetAction.ProtoReflect.Descriptor instead.
func (*HTTPGetAction) GetHost ¶ added in v0.2.0
func (x *HTTPGetAction) GetHost() string
func (*HTTPGetAction) GetHttpHeaders ¶ added in v0.2.0
func (x *HTTPGetAction) GetHttpHeaders() []*HTTPHeader
func (*HTTPGetAction) GetPath ¶ added in v0.2.0
func (x *HTTPGetAction) GetPath() string
func (*HTTPGetAction) GetScheme ¶ added in v0.2.0
func (x *HTTPGetAction) GetScheme() string
func (*HTTPGetAction) ProtoMessage ¶ added in v0.2.0
func (*HTTPGetAction) ProtoMessage()
func (*HTTPGetAction) ProtoReflect ¶ added in v0.2.0
func (x *HTTPGetAction) ProtoReflect() protoreflect.Message
func (*HTTPGetAction) Reset ¶ added in v0.2.0
func (x *HTTPGetAction) Reset()
func (*HTTPGetAction) String ¶ added in v0.2.0
func (x *HTTPGetAction) String() string
type HTTPHeader ¶ added in v0.2.0
type HTTPHeader struct { // Cloud Run fully managed: not supported // Cloud Run for Anthos: supported // The header field name Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Cloud Run fully managed: not supported // Cloud Run for Anthos: supported // The header field value Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
Cloud Run fully managed: not supported Cloud Run for Anthos: supported HTTPHeader describes a custom header to be used in HTTP probes
func (*HTTPHeader) Descriptor
deprecated
added in
v0.2.0
func (*HTTPHeader) Descriptor() ([]byte, []int)
Deprecated: Use HTTPHeader.ProtoReflect.Descriptor instead.
func (*HTTPHeader) GetName ¶ added in v0.2.0
func (x *HTTPHeader) GetName() string
func (*HTTPHeader) GetValue ¶ added in v0.2.0
func (x *HTTPHeader) GetValue() string
func (*HTTPHeader) ProtoMessage ¶ added in v0.2.0
func (*HTTPHeader) ProtoMessage()
func (*HTTPHeader) ProtoReflect ¶ added in v0.2.0
func (x *HTTPHeader) ProtoReflect() protoreflect.Message
func (*HTTPHeader) Reset ¶ added in v0.2.0
func (x *HTTPHeader) Reset()
func (*HTTPHeader) String ¶ added in v0.2.0
func (x *HTTPHeader) String() string
type KeyToPath ¶ added in v0.2.0
type KeyToPath struct { // Cloud Run fully managed: supported // The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version. // Cloud Run for Anthos: supported // The key to project. Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // Cloud Run fully managed: supported // Cloud Run for Anthos: supported // The relative path of the file to map the key to. May not be an absolute path. // May not contain the path element '..'. May not start with the string '..'. Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` // Cloud Run fully managed: not supported // Cloud Run for Anthos: supported // Mode bits to use on this file, must be a value between 0000 and 0777. // If not specified, the volume defaultMode will be used. This might be in conflict with other options // that affect the file mode, like fsGroup, and the result can be other mode bits set. Mode int32 `protobuf:"varint,3,opt,name=mode,proto3" json:"mode,omitempty"` // contains filtered or unexported fields }
Cloud Run fully managed: supported Cloud Run for Anthos: supported Maps a string key to a path within a volume.
func (*KeyToPath) Descriptor
deprecated
added in
v0.2.0
func (*KeyToPath) ProtoMessage ¶ added in v0.2.0
func (*KeyToPath) ProtoMessage()
func (*KeyToPath) ProtoReflect ¶ added in v0.2.0
func (x *KeyToPath) ProtoReflect() protoreflect.Message
type ListAuthorizedDomainsRequest ¶
type ListAuthorizedDomainsRequest struct { // Name of the parent Project resource. Example: projects/myproject. // Authorization requires the following IAM permission on the specified resource parent: // run.authorizeddomains.list Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Maximum results to return per page. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Continuation token for fetching the next page of results. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
func (*ListAuthorizedDomainsRequest) Descriptor
deprecated
func (*ListAuthorizedDomainsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListAuthorizedDomainsRequest.ProtoReflect.Descriptor instead.
func (*ListAuthorizedDomainsRequest) GetPageSize ¶
func (x *ListAuthorizedDomainsRequest) GetPageSize() int32
func (*ListAuthorizedDomainsRequest) GetPageToken ¶
func (x *ListAuthorizedDomainsRequest) GetPageToken() string
func (*ListAuthorizedDomainsRequest) GetParent ¶
func (x *ListAuthorizedDomainsRequest) GetParent() string
func (*ListAuthorizedDomainsRequest) ProtoMessage ¶
func (*ListAuthorizedDomainsRequest) ProtoMessage()
func (*ListAuthorizedDomainsRequest) ProtoReflect ¶
func (x *ListAuthorizedDomainsRequest) ProtoReflect() protoreflect.Message
func (*ListAuthorizedDomainsRequest) Reset ¶
func (x *ListAuthorizedDomainsRequest) Reset()
func (*ListAuthorizedDomainsRequest) String ¶
func (x *ListAuthorizedDomainsRequest) String() string
type ListAuthorizedDomainsResponse ¶
type ListAuthorizedDomainsResponse struct { // The authorized domains belonging to the user. Domains []*AuthorizedDomain `protobuf:"bytes,1,rep,name=domains,proto3" json:"domains,omitempty"` // Continuation token for fetching the next page of results. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*ListAuthorizedDomainsResponse) Descriptor
deprecated
func (*ListAuthorizedDomainsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListAuthorizedDomainsResponse.ProtoReflect.Descriptor instead.
func (*ListAuthorizedDomainsResponse) GetDomains ¶
func (x *ListAuthorizedDomainsResponse) GetDomains() []*AuthorizedDomain
func (*ListAuthorizedDomainsResponse) GetNextPageToken ¶
func (x *ListAuthorizedDomainsResponse) GetNextPageToken() string
func (*ListAuthorizedDomainsResponse) ProtoMessage ¶
func (*ListAuthorizedDomainsResponse) ProtoMessage()
func (*ListAuthorizedDomainsResponse) ProtoReflect ¶
func (x *ListAuthorizedDomainsResponse) ProtoReflect() protoreflect.Message
func (*ListAuthorizedDomainsResponse) Reset ¶
func (x *ListAuthorizedDomainsResponse) Reset()
func (*ListAuthorizedDomainsResponse) String ¶
func (x *ListAuthorizedDomainsResponse) String() string
type ListConfigurationsRequest ¶
type ListConfigurationsRequest struct { // The namespace from which the configurations should be listed. For Cloud Run (fully managed), replace {namespace_id} with the project ID or number. // Authorization requires the following IAM permission on the specified resource parent: // run.configurations.list Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // The maximum number of records that should be returned. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Not currently used by Cloud Run IncludeUninitialized bool `protobuf:"varint,3,opt,name=include_uninitialized,json=includeUninitialized,proto3" json:"include_uninitialized,omitempty"` // Allows to filter resources based on a specific value for a field name. Send this in a query string format. i.e. 'metadata.name%3Dlorem'. // Not currently used by Cloud Run. FieldSelector string `protobuf:"bytes,4,opt,name=field_selector,json=fieldSelector,proto3" json:"field_selector,omitempty"` // Allows to filter resources based on a label. Supported operations are =, !=, exists, in, and notIn. LabelSelector string `protobuf:"bytes,5,opt,name=label_selector,json=labelSelector,proto3" json:"label_selector,omitempty"` // The baseline resource version from which the list or watch operation should start. Not currently used by Cloud Run. ResourceVersion string `protobuf:"bytes,6,opt,name=resource_version,json=resourceVersion,proto3" json:"resource_version,omitempty"` // Flag that indicates that the client expects to watch this resource as well. Not currently used by Cloud Run. Watch bool `protobuf:"varint,7,opt,name=watch,proto3" json:"watch,omitempty"` // Optional encoded string to continue paging. PageToken string `protobuf:"bytes,8,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
func (*ListConfigurationsRequest) Descriptor
deprecated
func (*ListConfigurationsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListConfigurationsRequest.ProtoReflect.Descriptor instead.
func (*ListConfigurationsRequest) GetFieldSelector ¶
func (x *ListConfigurationsRequest) GetFieldSelector() string
func (*ListConfigurationsRequest) GetIncludeUninitialized ¶
func (x *ListConfigurationsRequest) GetIncludeUninitialized() bool
func (*ListConfigurationsRequest) GetLabelSelector ¶
func (x *ListConfigurationsRequest) GetLabelSelector() string
func (*ListConfigurationsRequest) GetPageSize ¶
func (x *ListConfigurationsRequest) GetPageSize() int32
func (*ListConfigurationsRequest) GetPageToken ¶
func (x *ListConfigurationsRequest) GetPageToken() string
func (*ListConfigurationsRequest) GetParent ¶
func (x *ListConfigurationsRequest) GetParent() string
func (*ListConfigurationsRequest) GetResourceVersion ¶
func (x *ListConfigurationsRequest) GetResourceVersion() string
func (*ListConfigurationsRequest) GetWatch ¶
func (x *ListConfigurationsRequest) GetWatch() bool
func (*ListConfigurationsRequest) ProtoMessage ¶
func (*ListConfigurationsRequest) ProtoMessage()
func (*ListConfigurationsRequest) ProtoReflect ¶
func (x *ListConfigurationsRequest) ProtoReflect() protoreflect.Message
func (*ListConfigurationsRequest) Reset ¶
func (x *ListConfigurationsRequest) Reset()
func (*ListConfigurationsRequest) String ¶
func (x *ListConfigurationsRequest) String() string
type ListConfigurationsResponse ¶
type ListConfigurationsResponse struct { // The API version for this call such as "serving.knative.dev/v1". ApiVersion string `protobuf:"bytes,1,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"` // The kind of this resource, in this case "ConfigurationList". Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"` // Metadata associated with this configuration list. Metadata *ListMeta `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"` // List of Configurations. Items []*Configuration `protobuf:"bytes,4,rep,name=items,proto3" json:"items,omitempty"` // Locations that could not be reached. Unreachable []string `protobuf:"bytes,5,rep,name=unreachable,proto3" json:"unreachable,omitempty"` // contains filtered or unexported fields }
func (*ListConfigurationsResponse) Descriptor
deprecated
func (*ListConfigurationsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListConfigurationsResponse.ProtoReflect.Descriptor instead.
func (*ListConfigurationsResponse) GetApiVersion ¶
func (x *ListConfigurationsResponse) GetApiVersion() string
func (*ListConfigurationsResponse) GetItems ¶
func (x *ListConfigurationsResponse) GetItems() []*Configuration
func (*ListConfigurationsResponse) GetKind ¶
func (x *ListConfigurationsResponse) GetKind() string
func (*ListConfigurationsResponse) GetMetadata ¶
func (x *ListConfigurationsResponse) GetMetadata() *ListMeta
func (*ListConfigurationsResponse) GetUnreachable ¶
func (x *ListConfigurationsResponse) GetUnreachable() []string
func (*ListConfigurationsResponse) ProtoMessage ¶
func (*ListConfigurationsResponse) ProtoMessage()
func (*ListConfigurationsResponse) ProtoReflect ¶
func (x *ListConfigurationsResponse) ProtoReflect() protoreflect.Message
func (*ListConfigurationsResponse) Reset ¶
func (x *ListConfigurationsResponse) Reset()
func (*ListConfigurationsResponse) String ¶
func (x *ListConfigurationsResponse) String() string
type ListDomainMappingsRequest ¶
type ListDomainMappingsRequest struct { // The namespace from which the domain mappings should be listed. For Cloud Run (fully managed), replace {namespace_id} with the project ID or number. // Authorization requires the following IAM permission on the specified resource parent: // run.services.list Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // The maximum number of records that should be returned. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Not currently used by Cloud Run. IncludeUninitialized bool `protobuf:"varint,3,opt,name=include_uninitialized,json=includeUninitialized,proto3" json:"include_uninitialized,omitempty"` // Allows to filter resources based on a specific value for a field name. Send this in a query string format. i.e. 'metadata.name%3Dlorem'. // Not currently used by Cloud Run. FieldSelector string `protobuf:"bytes,4,opt,name=field_selector,json=fieldSelector,proto3" json:"field_selector,omitempty"` // Allows to filter resources based on a label. Supported operations are =, !=, exists, in, and notIn. LabelSelector string `protobuf:"bytes,5,opt,name=label_selector,json=labelSelector,proto3" json:"label_selector,omitempty"` // The baseline resource version from which the list or watch operation should start. Not currently used by Cloud Run. ResourceVersion string `protobuf:"bytes,6,opt,name=resource_version,json=resourceVersion,proto3" json:"resource_version,omitempty"` // Flag that indicates that the client expects to watch this resource as well. Not currently used by Cloud Run. Watch bool `protobuf:"varint,7,opt,name=watch,proto3" json:"watch,omitempty"` // Optional encoded string to continue paging. PageToken string `protobuf:"bytes,8,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
func (*ListDomainMappingsRequest) Descriptor
deprecated
func (*ListDomainMappingsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListDomainMappingsRequest.ProtoReflect.Descriptor instead.
func (*ListDomainMappingsRequest) GetFieldSelector ¶
func (x *ListDomainMappingsRequest) GetFieldSelector() string
func (*ListDomainMappingsRequest) GetIncludeUninitialized ¶
func (x *ListDomainMappingsRequest) GetIncludeUninitialized() bool
func (*ListDomainMappingsRequest) GetLabelSelector ¶
func (x *ListDomainMappingsRequest) GetLabelSelector() string
func (*ListDomainMappingsRequest) GetPageSize ¶
func (x *ListDomainMappingsRequest) GetPageSize() int32
func (*ListDomainMappingsRequest) GetPageToken ¶
func (x *ListDomainMappingsRequest) GetPageToken() string
func (*ListDomainMappingsRequest) GetParent ¶
func (x *ListDomainMappingsRequest) GetParent() string
func (*ListDomainMappingsRequest) GetResourceVersion ¶
func (x *ListDomainMappingsRequest) GetResourceVersion() string
func (*ListDomainMappingsRequest) GetWatch ¶
func (x *ListDomainMappingsRequest) GetWatch() bool
func (*ListDomainMappingsRequest) ProtoMessage ¶
func (*ListDomainMappingsRequest) ProtoMessage()
func (*ListDomainMappingsRequest) ProtoReflect ¶
func (x *ListDomainMappingsRequest) ProtoReflect() protoreflect.Message
func (*ListDomainMappingsRequest) Reset ¶
func (x *ListDomainMappingsRequest) Reset()
func (*ListDomainMappingsRequest) String ¶
func (x *ListDomainMappingsRequest) String() string
type ListDomainMappingsResponse ¶
type ListDomainMappingsResponse struct { // The API version for this call such as "domains.cloudrun.com/v1". ApiVersion string `protobuf:"bytes,1,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"` // The kind of this resource, in this case "DomainMappingList". Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"` // Metadata associated with this DomainMapping list. Metadata *ObjectMeta `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"` // List of DomainMappings. Items []*DomainMapping `protobuf:"bytes,4,rep,name=items,proto3" json:"items,omitempty"` // Locations that could not be reached. Unreachable []string `protobuf:"bytes,5,rep,name=unreachable,proto3" json:"unreachable,omitempty"` // contains filtered or unexported fields }
func (*ListDomainMappingsResponse) Descriptor
deprecated
func (*ListDomainMappingsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListDomainMappingsResponse.ProtoReflect.Descriptor instead.
func (*ListDomainMappingsResponse) GetApiVersion ¶
func (x *ListDomainMappingsResponse) GetApiVersion() string
func (*ListDomainMappingsResponse) GetItems ¶
func (x *ListDomainMappingsResponse) GetItems() []*DomainMapping
func (*ListDomainMappingsResponse) GetKind ¶
func (x *ListDomainMappingsResponse) GetKind() string
func (*ListDomainMappingsResponse) GetMetadata ¶
func (x *ListDomainMappingsResponse) GetMetadata() *ObjectMeta
func (*ListDomainMappingsResponse) GetUnreachable ¶
func (x *ListDomainMappingsResponse) GetUnreachable() []string
func (*ListDomainMappingsResponse) ProtoMessage ¶
func (*ListDomainMappingsResponse) ProtoMessage()
func (*ListDomainMappingsResponse) ProtoReflect ¶
func (x *ListDomainMappingsResponse) ProtoReflect() protoreflect.Message
func (*ListDomainMappingsResponse) Reset ¶
func (x *ListDomainMappingsResponse) Reset()
func (*ListDomainMappingsResponse) String ¶
func (x *ListDomainMappingsResponse) String() string
type ListMeta ¶ added in v0.2.0
type ListMeta struct { // SelfLink is a URL representing this object. Populated by the system. Read-only. SelfLink string `protobuf:"bytes,1,opt,name=self_link,json=selfLink,proto3" json:"self_link,omitempty"` // String that identifies the server's internal version of this object that can be used by clients // to determine when objects have changed. // Value must be treated as opaque by clients and passed unmodified back to the server. // Populated by the system. Read-only. // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency ResourceVersion string `protobuf:"bytes,2,opt,name=resource_version,json=resourceVersion,proto3" json:"resource_version,omitempty"` // continue may be set if the user set a limit on the number of items returned, and indicates that the server has // more data available. The value is opaque and may be used to issue another request to the endpoint that served // this list to retrieve the next set of available objects. Continuing a list may not be possible if the server // configuration has changed or more than a few minutes have passed. // The resourceVersion field returned when using this continue value will be identical to the value in the first response. Continue string `protobuf:"bytes,3,opt,name=continue,proto3" json:"continue,omitempty"` // contains filtered or unexported fields }
ListMeta describes metadata that synthetic resources must have, including lists and various status objects. A resource may have only one of {ObjectMeta, ListMeta}.
func (*ListMeta) Descriptor
deprecated
added in
v0.2.0
func (*ListMeta) GetContinue ¶ added in v0.2.0
func (*ListMeta) GetResourceVersion ¶ added in v0.2.0
func (*ListMeta) GetSelfLink ¶ added in v0.2.0
func (*ListMeta) ProtoMessage ¶ added in v0.2.0
func (*ListMeta) ProtoMessage()
func (*ListMeta) ProtoReflect ¶ added in v0.2.0
func (x *ListMeta) ProtoReflect() protoreflect.Message
type ListRevisionsRequest ¶
type ListRevisionsRequest struct { // The namespace from which the revisions should be listed. For Cloud Run (fully managed), replace {namespace_id} with the project ID or number. // Authorization requires the following IAM permission on the specified resource parent: // run.revisions.list Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // The maximum number of records that should be returned. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Not currently used by Cloud Run IncludeUninitialized bool `protobuf:"varint,3,opt,name=include_uninitialized,json=includeUninitialized,proto3" json:"include_uninitialized,omitempty"` // Allows to filter resources based on a specific value for a field name. Send this in a query string format. i.e. 'metadata.name%3Dlorem'. // Not currently used by Cloud Run. FieldSelector string `protobuf:"bytes,4,opt,name=field_selector,json=fieldSelector,proto3" json:"field_selector,omitempty"` // Allows to filter resources based on a label. Supported operations are =, !=, exists, in, and notIn. LabelSelector string `protobuf:"bytes,5,opt,name=label_selector,json=labelSelector,proto3" json:"label_selector,omitempty"` // The baseline resource version from which the list or watch operation should start. Not currently used by Cloud Run. ResourceVersion string `protobuf:"bytes,6,opt,name=resource_version,json=resourceVersion,proto3" json:"resource_version,omitempty"` // Flag that indicates that the client expects to watch this resource as well. Not currently used by Cloud Run. Watch bool `protobuf:"varint,7,opt,name=watch,proto3" json:"watch,omitempty"` // Optional encoded string to continue paging. PageToken string `protobuf:"bytes,8,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
func (*ListRevisionsRequest) Descriptor
deprecated
func (*ListRevisionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListRevisionsRequest.ProtoReflect.Descriptor instead.
func (*ListRevisionsRequest) GetFieldSelector ¶
func (x *ListRevisionsRequest) GetFieldSelector() string
func (*ListRevisionsRequest) GetIncludeUninitialized ¶
func (x *ListRevisionsRequest) GetIncludeUninitialized() bool
func (*ListRevisionsRequest) GetLabelSelector ¶
func (x *ListRevisionsRequest) GetLabelSelector() string
func (*ListRevisionsRequest) GetPageSize ¶
func (x *ListRevisionsRequest) GetPageSize() int32
func (*ListRevisionsRequest) GetPageToken ¶
func (x *ListRevisionsRequest) GetPageToken() string
func (*ListRevisionsRequest) GetParent ¶
func (x *ListRevisionsRequest) GetParent() string
func (*ListRevisionsRequest) GetResourceVersion ¶
func (x *ListRevisionsRequest) GetResourceVersion() string
func (*ListRevisionsRequest) GetWatch ¶
func (x *ListRevisionsRequest) GetWatch() bool
func (*ListRevisionsRequest) ProtoMessage ¶
func (*ListRevisionsRequest) ProtoMessage()
func (*ListRevisionsRequest) ProtoReflect ¶
func (x *ListRevisionsRequest) ProtoReflect() protoreflect.Message
func (*ListRevisionsRequest) Reset ¶
func (x *ListRevisionsRequest) Reset()
func (*ListRevisionsRequest) String ¶
func (x *ListRevisionsRequest) String() string
type ListRevisionsResponse ¶
type ListRevisionsResponse struct { // The API version for this call such as "serving.knative.dev/v1". ApiVersion string `protobuf:"bytes,1,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"` // The kind of this resource, in this case "RevisionList". Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"` // Metadata associated with this revision list. Metadata *ListMeta `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"` // List of Revisions. Items []*Revision `protobuf:"bytes,4,rep,name=items,proto3" json:"items,omitempty"` // Locations that could not be reached. Unreachable []string `protobuf:"bytes,5,rep,name=unreachable,proto3" json:"unreachable,omitempty"` // contains filtered or unexported fields }
func (*ListRevisionsResponse) Descriptor
deprecated
func (*ListRevisionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListRevisionsResponse.ProtoReflect.Descriptor instead.
func (*ListRevisionsResponse) GetApiVersion ¶
func (x *ListRevisionsResponse) GetApiVersion() string
func (*ListRevisionsResponse) GetItems ¶
func (x *ListRevisionsResponse) GetItems() []*Revision
func (*ListRevisionsResponse) GetKind ¶
func (x *ListRevisionsResponse) GetKind() string
func (*ListRevisionsResponse) GetMetadata ¶
func (x *ListRevisionsResponse) GetMetadata() *ListMeta
func (*ListRevisionsResponse) GetUnreachable ¶
func (x *ListRevisionsResponse) GetUnreachable() []string
func (*ListRevisionsResponse) ProtoMessage ¶
func (*ListRevisionsResponse) ProtoMessage()
func (*ListRevisionsResponse) ProtoReflect ¶
func (x *ListRevisionsResponse) ProtoReflect() protoreflect.Message
func (*ListRevisionsResponse) Reset ¶
func (x *ListRevisionsResponse) Reset()
func (*ListRevisionsResponse) String ¶
func (x *ListRevisionsResponse) String() string
type ListRoutesRequest ¶
type ListRoutesRequest struct { // The namespace from which the routes should be listed. For Cloud Run (fully managed), replace {namespace_id} with the project ID or number. // Authorization requires the following IAM permission on the specified resource parent: // run.routes.list Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // The maximum number of records that should be returned. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Not currently used by Cloud Run. IncludeUninitialized bool `protobuf:"varint,3,opt,name=include_uninitialized,json=includeUninitialized,proto3" json:"include_uninitialized,omitempty"` // Allows to filter resources based on a specific value for a field name. // Send this in a query string format. i.e. 'metadata.name%3Dlorem'. Not currently used by Cloud Run. FieldSelector string `protobuf:"bytes,4,opt,name=field_selector,json=fieldSelector,proto3" json:"field_selector,omitempty"` // Allows to filter resources based on a label. Supported operations are =, !=, exists, in, and notIn. LabelSelector string `protobuf:"bytes,5,opt,name=label_selector,json=labelSelector,proto3" json:"label_selector,omitempty"` // The baseline resource version from which the list or watch operation should start. Not currently used by Cloud Run. ResourceVersion string `protobuf:"bytes,6,opt,name=resource_version,json=resourceVersion,proto3" json:"resource_version,omitempty"` // Flag that indicates that the client expects to watch this resource as well. Not currently used by Cloud Run. Watch bool `protobuf:"varint,7,opt,name=watch,proto3" json:"watch,omitempty"` // Optional encoded string to continue paging. PageToken string `protobuf:"bytes,8,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
func (*ListRoutesRequest) Descriptor
deprecated
func (*ListRoutesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListRoutesRequest.ProtoReflect.Descriptor instead.
func (*ListRoutesRequest) GetFieldSelector ¶
func (x *ListRoutesRequest) GetFieldSelector() string
func (*ListRoutesRequest) GetIncludeUninitialized ¶
func (x *ListRoutesRequest) GetIncludeUninitialized() bool
func (*ListRoutesRequest) GetLabelSelector ¶
func (x *ListRoutesRequest) GetLabelSelector() string
func (*ListRoutesRequest) GetPageSize ¶
func (x *ListRoutesRequest) GetPageSize() int32
func (*ListRoutesRequest) GetPageToken ¶
func (x *ListRoutesRequest) GetPageToken() string
func (*ListRoutesRequest) GetParent ¶
func (x *ListRoutesRequest) GetParent() string
func (*ListRoutesRequest) GetResourceVersion ¶
func (x *ListRoutesRequest) GetResourceVersion() string
func (*ListRoutesRequest) GetWatch ¶
func (x *ListRoutesRequest) GetWatch() bool
func (*ListRoutesRequest) ProtoMessage ¶
func (*ListRoutesRequest) ProtoMessage()
func (*ListRoutesRequest) ProtoReflect ¶
func (x *ListRoutesRequest) ProtoReflect() protoreflect.Message
func (*ListRoutesRequest) Reset ¶
func (x *ListRoutesRequest) Reset()
func (*ListRoutesRequest) String ¶
func (x *ListRoutesRequest) String() string
type ListRoutesResponse ¶
type ListRoutesResponse struct { // The API version for this call such as "serving.knative.dev/v1". ApiVersion string `protobuf:"bytes,1,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"` // The kind of this resource, in this case always "RouteList". Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"` // Metadata associated with this Route list. Metadata *ListMeta `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"` // List of Routes. Items []*Route `protobuf:"bytes,4,rep,name=items,proto3" json:"items,omitempty"` // Locations that could not be reached. Unreachable []string `protobuf:"bytes,5,rep,name=unreachable,proto3" json:"unreachable,omitempty"` // contains filtered or unexported fields }
func (*ListRoutesResponse) Descriptor
deprecated
func (*ListRoutesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListRoutesResponse.ProtoReflect.Descriptor instead.
func (*ListRoutesResponse) GetApiVersion ¶
func (x *ListRoutesResponse) GetApiVersion() string
func (*ListRoutesResponse) GetItems ¶
func (x *ListRoutesResponse) GetItems() []*Route
func (*ListRoutesResponse) GetKind ¶
func (x *ListRoutesResponse) GetKind() string
func (*ListRoutesResponse) GetMetadata ¶
func (x *ListRoutesResponse) GetMetadata() *ListMeta
func (*ListRoutesResponse) GetUnreachable ¶
func (x *ListRoutesResponse) GetUnreachable() []string
func (*ListRoutesResponse) ProtoMessage ¶
func (*ListRoutesResponse) ProtoMessage()
func (*ListRoutesResponse) ProtoReflect ¶
func (x *ListRoutesResponse) ProtoReflect() protoreflect.Message
func (*ListRoutesResponse) Reset ¶
func (x *ListRoutesResponse) Reset()
func (*ListRoutesResponse) String ¶
func (x *ListRoutesResponse) String() string
type ListServicesRequest ¶
type ListServicesRequest struct { // The namespace from which the services should be listed. For Cloud Run (fully managed), replace {namespace_id} with the project ID or number. // Authorization requires the following IAM permission on the specified resource parent: // run.services.list Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // The maximum number of records that should be returned. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Not currently used by Cloud Run. IncludeUninitialized bool `protobuf:"varint,3,opt,name=include_uninitialized,json=includeUninitialized,proto3" json:"include_uninitialized,omitempty"` // Allows to filter resources based on a specific value for a field name. Send this in a query string format. i.e. 'metadata.name%3Dlorem'. // Not currently used by Cloud Run. FieldSelector string `protobuf:"bytes,4,opt,name=field_selector,json=fieldSelector,proto3" json:"field_selector,omitempty"` // Allows to filter resources based on a label. Supported operations are =, !=, exists, in, and notIn. LabelSelector string `protobuf:"bytes,5,opt,name=label_selector,json=labelSelector,proto3" json:"label_selector,omitempty"` // The baseline resource version from which the list or watch operation should start. Not currently used by Cloud Run. ResourceVersion string `protobuf:"bytes,6,opt,name=resource_version,json=resourceVersion,proto3" json:"resource_version,omitempty"` // Flag that indicates that the client expects to watch this resource as well. Not currently used by Cloud Run. Watch bool `protobuf:"varint,7,opt,name=watch,proto3" json:"watch,omitempty"` // Optional encoded string to continue paging. PageToken string `protobuf:"bytes,8,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
func (*ListServicesRequest) Descriptor
deprecated
func (*ListServicesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListServicesRequest.ProtoReflect.Descriptor instead.
func (*ListServicesRequest) GetFieldSelector ¶
func (x *ListServicesRequest) GetFieldSelector() string
func (*ListServicesRequest) GetIncludeUninitialized ¶
func (x *ListServicesRequest) GetIncludeUninitialized() bool
func (*ListServicesRequest) GetLabelSelector ¶
func (x *ListServicesRequest) GetLabelSelector() string
func (*ListServicesRequest) GetPageSize ¶
func (x *ListServicesRequest) GetPageSize() int32
func (*ListServicesRequest) GetPageToken ¶
func (x *ListServicesRequest) GetPageToken() string
func (*ListServicesRequest) GetParent ¶
func (x *ListServicesRequest) GetParent() string
func (*ListServicesRequest) GetResourceVersion ¶
func (x *ListServicesRequest) GetResourceVersion() string
func (*ListServicesRequest) GetWatch ¶
func (x *ListServicesRequest) GetWatch() bool
func (*ListServicesRequest) ProtoMessage ¶
func (*ListServicesRequest) ProtoMessage()
func (*ListServicesRequest) ProtoReflect ¶
func (x *ListServicesRequest) ProtoReflect() protoreflect.Message
func (*ListServicesRequest) Reset ¶
func (x *ListServicesRequest) Reset()
func (*ListServicesRequest) String ¶
func (x *ListServicesRequest) String() string
type ListServicesResponse ¶
type ListServicesResponse struct { // The API version for this call such as "serving.knative.dev/v1". ApiVersion string `protobuf:"bytes,1,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"` // The kind of this resource, in this case "ServiceList". Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"` // Metadata associated with this Service list. Metadata *ListMeta `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"` // List of Services. Items []*Service `protobuf:"bytes,4,rep,name=items,proto3" json:"items,omitempty"` // Locations that could not be reached. Unreachable []string `protobuf:"bytes,5,rep,name=unreachable,proto3" json:"unreachable,omitempty"` // contains filtered or unexported fields }
func (*ListServicesResponse) Descriptor
deprecated
func (*ListServicesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListServicesResponse.ProtoReflect.Descriptor instead.
func (*ListServicesResponse) GetApiVersion ¶
func (x *ListServicesResponse) GetApiVersion() string
func (*ListServicesResponse) GetItems ¶
func (x *ListServicesResponse) GetItems() []*Service
func (*ListServicesResponse) GetKind ¶
func (x *ListServicesResponse) GetKind() string
func (*ListServicesResponse) GetMetadata ¶
func (x *ListServicesResponse) GetMetadata() *ListMeta
func (*ListServicesResponse) GetUnreachable ¶
func (x *ListServicesResponse) GetUnreachable() []string
func (*ListServicesResponse) ProtoMessage ¶
func (*ListServicesResponse) ProtoMessage()
func (*ListServicesResponse) ProtoReflect ¶
func (x *ListServicesResponse) ProtoReflect() protoreflect.Message
func (*ListServicesResponse) Reset ¶
func (x *ListServicesResponse) Reset()
func (*ListServicesResponse) String ¶
func (x *ListServicesResponse) String() string
type LocalObjectReference ¶ added in v0.2.0
type LocalObjectReference struct { // Cloud Run fully managed: not supported // Cloud Run for Anthos: supported // Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Cloud Run fully managed: not supported Cloud Run for Anthos: supported LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.
func (*LocalObjectReference) Descriptor
deprecated
added in
v0.2.0
func (*LocalObjectReference) Descriptor() ([]byte, []int)
Deprecated: Use LocalObjectReference.ProtoReflect.Descriptor instead.
func (*LocalObjectReference) GetName ¶ added in v0.2.0
func (x *LocalObjectReference) GetName() string
func (*LocalObjectReference) ProtoMessage ¶ added in v0.2.0
func (*LocalObjectReference) ProtoMessage()
func (*LocalObjectReference) ProtoReflect ¶ added in v0.2.0
func (x *LocalObjectReference) ProtoReflect() protoreflect.Message
func (*LocalObjectReference) Reset ¶ added in v0.2.0
func (x *LocalObjectReference) Reset()
func (*LocalObjectReference) String ¶ added in v0.2.0
func (x *LocalObjectReference) String() string
type ObjectMeta ¶ added in v0.2.0
type ObjectMeta struct { // Name must be unique within a namespace, within a Cloud Run region. Is required when creating resources, // although some resources may allow a client to request the generation of an appropriate name automatically. // Name is primarily intended for creation idempotence and configuration definition. // Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Cloud Run fully managed: not supported // Cloud Run for Anthos: supported // GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. // If this field is used, the name returned to the client will be different than the name passed. // This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, // and may be truncated by the length of the suffix required to make the value unique on the server. // If this field is specified and the generated name exists, the server will NOT return a 409 - instead, // it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found // in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header). // Applied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency GenerateName string `protobuf:"bytes,2,opt,name=generate_name,json=generateName,proto3" json:"generate_name,omitempty"` // Namespace defines the space within each name must be unique, within a Cloud Run region. // In Cloud Run the namespace must be equal to either the project ID or project number. Namespace string `protobuf:"bytes,3,opt,name=namespace,proto3" json:"namespace,omitempty"` // SelfLink is a URL representing this object. Populated by the system. Read-only. SelfLink string `protobuf:"bytes,4,opt,name=self_link,json=selfLink,proto3" json:"self_link,omitempty"` // UID is the unique in time and space value for this object. It is typically generated by the server on successful // creation of a resource and is not allowed to change on PUT operations. // Populated by the system. Read-only. Uid string `protobuf:"bytes,5,opt,name=uid,proto3" json:"uid,omitempty"` // An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. // May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. // Clients must treat these values as opaque and passed unmodified back to the server. // They may only be valid for a particular resource or set of resources. // Populated by the system. Read-only. Value must be treated as opaque by clients. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency ResourceVersion string `protobuf:"bytes,6,opt,name=resource_version,json=resourceVersion,proto3" json:"resource_version,omitempty"` // A sequence number representing a specific generation of the desired state. Populated by the system. Read-only. Generation int32 `protobuf:"varint,7,opt,name=generation,proto3" json:"generation,omitempty"` // CreationTimestamp is a timestamp representing the server time when this object was created. // It is not guaranteed to be set in happens-before order across separate operations. // Clients may not set this value. It is represented in RFC3339 form and is in UTC. // Populated by the system. Read-only. Null for lists. // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata CreateTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Map of string keys and values that can be used to organize and categorize (scope and select) objects. // May match selectors of replication controllers and routes. More info: http://kubernetes.io/docs/user-guide/labels Labels map[string]string `` /* 153-byte string literal not displayed */ // Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. // They are not queryable and should be preserved when modifying objects. // More info: http://kubernetes.io/docs/user-guide/annotations Annotations map[string]string `` /* 164-byte string literal not displayed */ // Cloud Run fully managed: not supported // Cloud Run for Anthos: supported // List of objects that own this object. If ALL objects in the list have been deleted, this object will be garbage collected. OwnerReferences []*OwnerReference `protobuf:"bytes,11,rep,name=owner_references,json=ownerReferences,proto3" json:"owner_references,omitempty"` // Cloud Run fully managed: not supported // Cloud Run for Anthos: supported // DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. // This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. // The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) // after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. // Once the deletionTimestamp is set, this value may not be unset or be set further into the future, // although it may be shortened or the resource may be deleted prior to this time. // For example, a user may request that a pod is deleted in 30 seconds. // The Kubelet will react by sending a graceful termination signal to the containers in the pod. // After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, // remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, // until an administrator or automated process can determine the resource is fully terminated. // If not set, graceful deletion of the object has not been requested. // Populated by the system when a graceful deletion is requested. Read-only. // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata DeleteTime *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=delete_time,json=deleteTime,proto3" json:"delete_time,omitempty"` // Cloud Run fully managed: not supported // Cloud Run for Anthos: supported // Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. // Only set when deletionTimestamp is also set. May only be shortened. Read-only. DeletionGracePeriodSeconds int32 `` /* 145-byte string literal not displayed */ // Cloud Run fully managed: not supported // Cloud Run for Anthos: supported // Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will // remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers []string `protobuf:"bytes,14,rep,name=finalizers,proto3" json:"finalizers,omitempty"` // Cloud Run fully managed: not supported // Cloud Run for Anthos: supported // The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different // clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request. ClusterName string `protobuf:"bytes,15,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"` // contains filtered or unexported fields }
k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.
func (*ObjectMeta) Descriptor
deprecated
added in
v0.2.0
func (*ObjectMeta) Descriptor() ([]byte, []int)
Deprecated: Use ObjectMeta.ProtoReflect.Descriptor instead.
func (*ObjectMeta) GetAnnotations ¶ added in v0.2.0
func (x *ObjectMeta) GetAnnotations() map[string]string
func (*ObjectMeta) GetClusterName ¶ added in v0.2.0
func (x *ObjectMeta) GetClusterName() string
func (*ObjectMeta) GetCreateTime ¶ added in v0.2.0
func (x *ObjectMeta) GetCreateTime() *timestamppb.Timestamp
func (*ObjectMeta) GetDeleteTime ¶ added in v0.2.0
func (x *ObjectMeta) GetDeleteTime() *timestamppb.Timestamp
func (*ObjectMeta) GetDeletionGracePeriodSeconds ¶ added in v0.2.0
func (x *ObjectMeta) GetDeletionGracePeriodSeconds() int32
func (*ObjectMeta) GetFinalizers ¶ added in v0.2.0
func (x *ObjectMeta) GetFinalizers() []string
func (*ObjectMeta) GetGenerateName ¶ added in v0.2.0
func (x *ObjectMeta) GetGenerateName() string
func (*ObjectMeta) GetGeneration ¶ added in v0.2.0
func (x *ObjectMeta) GetGeneration() int32
func (*ObjectMeta) GetLabels ¶ added in v0.2.0
func (x *ObjectMeta) GetLabels() map[string]string
func (*ObjectMeta) GetName ¶ added in v0.2.0
func (x *ObjectMeta) GetName() string
func (*ObjectMeta) GetNamespace ¶ added in v0.2.0
func (x *ObjectMeta) GetNamespace() string
func (*ObjectMeta) GetOwnerReferences ¶ added in v0.2.0
func (x *ObjectMeta) GetOwnerReferences() []*OwnerReference
func (*ObjectMeta) GetResourceVersion ¶ added in v0.2.0
func (x *ObjectMeta) GetResourceVersion() string
func (*ObjectMeta) GetSelfLink ¶ added in v0.2.0
func (x *ObjectMeta) GetSelfLink() string
func (*ObjectMeta) GetUid ¶ added in v0.2.0
func (x *ObjectMeta) GetUid() string
func (*ObjectMeta) ProtoMessage ¶ added in v0.2.0
func (*ObjectMeta) ProtoMessage()
func (*ObjectMeta) ProtoReflect ¶ added in v0.2.0
func (x *ObjectMeta) ProtoReflect() protoreflect.Message
func (*ObjectMeta) Reset ¶ added in v0.2.0
func (x *ObjectMeta) Reset()
func (*ObjectMeta) String ¶ added in v0.2.0
func (x *ObjectMeta) String() string
type OwnerReference ¶ added in v0.2.0
type OwnerReference struct { // API version of the referent. ApiVersion string `protobuf:"bytes,1,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"` // Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"` // Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids Uid string `protobuf:"bytes,4,opt,name=uid,proto3" json:"uid,omitempty"` // If true, this reference points to the managing controller. Controller bool `protobuf:"varint,5,opt,name=controller,proto3" json:"controller,omitempty"` // If true, AND if the owner has the "foregroundDeletion" finalizer, then the owner cannot be deleted from the key-value store // until this reference is removed. Defaults to false. To set this field, a user needs "delete" permission of the owner, // otherwise 422 (Unprocessable Entity) will be returned. BlockOwnerDeletion bool `protobuf:"varint,6,opt,name=block_owner_deletion,json=blockOwnerDeletion,proto3" json:"block_owner_deletion,omitempty"` // contains filtered or unexported fields }
OwnerReference contains enough information to let you identify an owning object. Currently, an owning object must be in the same namespace, so there is no namespace field.
func (*OwnerReference) Descriptor
deprecated
added in
v0.2.0
func (*OwnerReference) Descriptor() ([]byte, []int)
Deprecated: Use OwnerReference.ProtoReflect.Descriptor instead.
func (*OwnerReference) GetApiVersion ¶ added in v0.2.0
func (x *OwnerReference) GetApiVersion() string
func (*OwnerReference) GetBlockOwnerDeletion ¶ added in v0.2.0
func (x *OwnerReference) GetBlockOwnerDeletion() bool
func (*OwnerReference) GetController ¶ added in v0.2.0
func (x *OwnerReference) GetController() bool
func (*OwnerReference) GetKind ¶ added in v0.2.0
func (x *OwnerReference) GetKind() string
func (*OwnerReference) GetName ¶ added in v0.2.0
func (x *OwnerReference) GetName() string
func (*OwnerReference) GetUid ¶ added in v0.2.0
func (x *OwnerReference) GetUid() string
func (*OwnerReference) ProtoMessage ¶ added in v0.2.0
func (*OwnerReference) ProtoMessage()
func (*OwnerReference) ProtoReflect ¶ added in v0.2.0
func (x *OwnerReference) ProtoReflect() protoreflect.Message
func (*OwnerReference) Reset ¶ added in v0.2.0
func (x *OwnerReference) Reset()
func (*OwnerReference) String ¶ added in v0.2.0
func (x *OwnerReference) String() string
type Probe ¶ added in v0.2.0
type Probe struct { // Cloud Run fully managed: not supported // Cloud Run for Anthos: supported // Number of seconds after the container has started before liveness probes are initiated. // More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes InitialDelaySeconds int32 `protobuf:"varint,1,opt,name=initial_delay_seconds,json=initialDelaySeconds,proto3" json:"initial_delay_seconds,omitempty"` // Cloud Run fully managed: not supported // Cloud Run for Anthos: supported // Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. // More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes TimeoutSeconds int32 `protobuf:"varint,2,opt,name=timeout_seconds,json=timeoutSeconds,proto3" json:"timeout_seconds,omitempty"` // Cloud Run fully managed: not supported // Cloud Run for Anthos: supported // How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. PeriodSeconds int32 `protobuf:"varint,3,opt,name=period_seconds,json=periodSeconds,proto3" json:"period_seconds,omitempty"` // Cloud Run fully managed: not supported // Cloud Run for Anthos: supported // Minimum consecutive successes for the probe to be considered successful after having failed. // Defaults to 1. Must be 1 for liveness. Minimum value is 1. SuccessThreshold int32 `protobuf:"varint,4,opt,name=success_threshold,json=successThreshold,proto3" json:"success_threshold,omitempty"` // Cloud Run fully managed: not supported // Cloud Run for Anthos: supported // Minimum consecutive failures for the probe to be considered failed after having succeeded. // Defaults to 3. Minimum value is 1. FailureThreshold int32 `protobuf:"varint,5,opt,name=failure_threshold,json=failureThreshold,proto3" json:"failure_threshold,omitempty"` // Cloud Run fully managed: not supported // Cloud Run for Anthos: supported // One and only one of the following should be specified. Exec specifies the action to take. // A field inlined from the Handler message. Exec *ExecAction `protobuf:"bytes,6,opt,name=exec,proto3" json:"exec,omitempty"` // Cloud Run fully managed: not supported // Cloud Run for Anthos: supported // HTTPGet specifies the http request to perform. // A field inlined from the Handler message. HttpGet *HTTPGetAction `protobuf:"bytes,7,opt,name=http_get,json=httpGet,proto3" json:"http_get,omitempty"` // Cloud Run fully managed: not supported // Cloud Run for Anthos: supported // TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported // A field inlined from the Handler message. TcpSocket *TCPSocketAction `protobuf:"bytes,8,opt,name=tcp_socket,json=tcpSocket,proto3" json:"tcp_socket,omitempty"` // contains filtered or unexported fields }
Cloud Run fully managed: not supported Cloud Run for Anthos: supported Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic.
func (*Probe) Descriptor
deprecated
added in
v0.2.0
func (*Probe) GetExec ¶ added in v0.2.0
func (x *Probe) GetExec() *ExecAction
func (*Probe) GetFailureThreshold ¶ added in v0.2.0
func (*Probe) GetHttpGet ¶ added in v0.2.0
func (x *Probe) GetHttpGet() *HTTPGetAction
func (*Probe) GetInitialDelaySeconds ¶ added in v0.2.0
func (*Probe) GetPeriodSeconds ¶ added in v0.2.0
func (*Probe) GetSuccessThreshold ¶ added in v0.2.0
func (*Probe) GetTcpSocket ¶ added in v0.2.0
func (x *Probe) GetTcpSocket() *TCPSocketAction
func (*Probe) GetTimeoutSeconds ¶ added in v0.2.0
func (*Probe) ProtoMessage ¶ added in v0.2.0
func (*Probe) ProtoMessage()
func (*Probe) ProtoReflect ¶ added in v0.2.0
func (x *Probe) ProtoReflect() protoreflect.Message
type ReplaceServiceRequest ¶
type ReplaceServiceRequest struct { // The name of the service being replaced. For Cloud Run (fully managed), replace {namespace_id} with the project ID or number. // Authorization requires the following IAM permission on the specified resource name: // run.services.update Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The service object being replaced. Service *Service `protobuf:"bytes,2,opt,name=service,proto3" json:"service,omitempty"` // Indicates that the server should validate the request and populate default values without persisting the request. // Supported values: all DryRun string `protobuf:"bytes,3,opt,name=dry_run,json=dryRun,proto3" json:"dry_run,omitempty"` // contains filtered or unexported fields }
func (*ReplaceServiceRequest) Descriptor
deprecated
func (*ReplaceServiceRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReplaceServiceRequest.ProtoReflect.Descriptor instead.
func (*ReplaceServiceRequest) GetDryRun ¶
func (x *ReplaceServiceRequest) GetDryRun() string
func (*ReplaceServiceRequest) GetName ¶
func (x *ReplaceServiceRequest) GetName() string
func (*ReplaceServiceRequest) GetService ¶
func (x *ReplaceServiceRequest) GetService() *Service
func (*ReplaceServiceRequest) ProtoMessage ¶
func (*ReplaceServiceRequest) ProtoMessage()
func (*ReplaceServiceRequest) ProtoReflect ¶
func (x *ReplaceServiceRequest) ProtoReflect() protoreflect.Message
func (*ReplaceServiceRequest) Reset ¶
func (x *ReplaceServiceRequest) Reset()
func (*ReplaceServiceRequest) String ¶
func (x *ReplaceServiceRequest) String() string
type ResourceRecord ¶
type ResourceRecord struct { // Relative name of the object affected by this record. Only applicable for CNAME records. Example: 'www'. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Data for this record. Values vary by record type, as defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1). Rrdata string `protobuf:"bytes,2,opt,name=rrdata,proto3" json:"rrdata,omitempty"` // contains filtered or unexported fields }
func (*ResourceRecord) Descriptor
deprecated
func (*ResourceRecord) Descriptor() ([]byte, []int)
Deprecated: Use ResourceRecord.ProtoReflect.Descriptor instead.
func (*ResourceRecord) GetName ¶
func (x *ResourceRecord) GetName() string
func (*ResourceRecord) GetRrdata ¶
func (x *ResourceRecord) GetRrdata() string
func (*ResourceRecord) ProtoMessage ¶
func (*ResourceRecord) ProtoMessage()
func (*ResourceRecord) ProtoReflect ¶
func (x *ResourceRecord) ProtoReflect() protoreflect.Message
func (*ResourceRecord) Reset ¶
func (x *ResourceRecord) Reset()
func (*ResourceRecord) String ¶
func (x *ResourceRecord) String() string
type ResourceRecord_RecordType ¶
type ResourceRecord_RecordType int32
Resource record type. Example: AAAA.
const ( // An unknown resource record. ResourceRecord_RECORD_TYPE_UNSPECIFIED ResourceRecord_RecordType = 0 // An A resource record. Data is an IPv4 address. ResourceRecord_A ResourceRecord_RecordType = 1 // An AAAA resource record. Data is an IPv6 address. ResourceRecord_AAAA ResourceRecord_RecordType = 2 // A CNAME resource record. Data is a domain name to be aliased. ResourceRecord_CNAME ResourceRecord_RecordType = 3 )
func (ResourceRecord_RecordType) Descriptor ¶
func (ResourceRecord_RecordType) Descriptor() protoreflect.EnumDescriptor
func (ResourceRecord_RecordType) Enum ¶
func (x ResourceRecord_RecordType) Enum() *ResourceRecord_RecordType
func (ResourceRecord_RecordType) EnumDescriptor
deprecated
func (ResourceRecord_RecordType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ResourceRecord_RecordType.Descriptor instead.
func (ResourceRecord_RecordType) Number ¶
func (x ResourceRecord_RecordType) Number() protoreflect.EnumNumber
func (ResourceRecord_RecordType) String ¶
func (x ResourceRecord_RecordType) String() string
func (ResourceRecord_RecordType) Type ¶
func (ResourceRecord_RecordType) Type() protoreflect.EnumType
type ResourceRequirements ¶ added in v0.2.0
type ResourceRequirements struct { // Cloud Run fully managed: Only memory and CPU are supported. // Note: The only supported values for CPU are '1', '2', and '4'. Setting 4 CPU requires at least 2Gi of memory. // Cloud Run for Anthos: supported // Limits describes the maximum amount of compute resources allowed. The values of the map is string form // of the 'quantity' k8s type: https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go Limits map[string]string `` /* 153-byte string literal not displayed */ // Cloud Run fully managed: Only memory and CPU are supported. Note: The only supported values for CPU are '1' and '2'. // Cloud Run for Anthos: supported // Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to // Limits if that is explicitly specified, otherwise to an implementation-defined value. The values of the map is string form of the 'quantity' k8s type: // https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go Requests map[string]string `` /* 157-byte string literal not displayed */ // contains filtered or unexported fields }
ResourceRequirements describes the compute resource requirements.
func (*ResourceRequirements) Descriptor
deprecated
added in
v0.2.0
func (*ResourceRequirements) Descriptor() ([]byte, []int)
Deprecated: Use ResourceRequirements.ProtoReflect.Descriptor instead.
func (*ResourceRequirements) GetLimits ¶ added in v0.2.0
func (x *ResourceRequirements) GetLimits() map[string]string
func (*ResourceRequirements) GetRequests ¶ added in v0.2.0
func (x *ResourceRequirements) GetRequests() map[string]string
func (*ResourceRequirements) ProtoMessage ¶ added in v0.2.0
func (*ResourceRequirements) ProtoMessage()
func (*ResourceRequirements) ProtoReflect ¶ added in v0.2.0
func (x *ResourceRequirements) ProtoReflect() protoreflect.Message
func (*ResourceRequirements) Reset ¶ added in v0.2.0
func (x *ResourceRequirements) Reset()
func (*ResourceRequirements) String ¶ added in v0.2.0
func (x *ResourceRequirements) String() string
type Revision ¶
type Revision struct { // The API version for this call such as "serving.knative.dev/v1". ApiVersion string `protobuf:"bytes,1,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"` // The kind of this resource, in this case "Revision". Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"` // Metadata associated with this Revision, including name, namespace, labels, and annotations. Metadata *ObjectMeta `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"` // Spec holds the desired state of the Revision (from the client). Spec *RevisionSpec `protobuf:"bytes,4,opt,name=spec,proto3" json:"spec,omitempty"` // Status communicates the observed state of the Revision (from the controller). Status *RevisionStatus `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"` // contains filtered or unexported fields }
func (*Revision) Descriptor
deprecated
func (*Revision) GetApiVersion ¶
func (*Revision) GetMetadata ¶
func (x *Revision) GetMetadata() *ObjectMeta
func (*Revision) GetSpec ¶
func (x *Revision) GetSpec() *RevisionSpec
func (*Revision) GetStatus ¶
func (x *Revision) GetStatus() *RevisionStatus
func (*Revision) ProtoMessage ¶
func (*Revision) ProtoMessage()
func (*Revision) ProtoReflect ¶
func (x *Revision) ProtoReflect() protoreflect.Message
type RevisionSpec ¶
type RevisionSpec struct { // ContainerConcurrency specifies the maximum allowed in-flight (concurrent) requests per container instance of the Revision. // Cloud Run fully managed: supported, defaults to 80 // Cloud Run for Anthos: supported, defaults to 0, which means concurrency to the application is not limited, // and the system decides the target concurrency for the autoscaler. ContainerConcurrency int32 `protobuf:"varint,1,opt,name=container_concurrency,json=containerConcurrency,proto3" json:"container_concurrency,omitempty"` // TimeoutSeconds holds the max duration the instance is allowed for responding to a request. // Cloud Run fully managed: defaults to 300 seconds (5 minutes). Maximum allowed value is 900 seconds (15 minutes). // Cloud Run for Anthos: defaults to 300 seconds (5 minutes). Maximum allowed value is configurable by the cluster operator. TimeoutSeconds int32 `protobuf:"varint,2,opt,name=timeout_seconds,json=timeoutSeconds,proto3" json:"timeout_seconds,omitempty"` // Email address of the IAM service account associated with the revision of the service. // The service account represents the identity of the running revision, and determines what permissions the revision has. // If not provided, the revision will use the project's default service account. ServiceAccountName string `protobuf:"bytes,3,opt,name=service_account_name,json=serviceAccountName,proto3" json:"service_account_name,omitempty"` // Containers holds the single container that defines the unit of execution for this Revision. // In the context of a Revision, we disallow a number of fields on this Container, including: name and lifecycle. // In Cloud Run, only a single container may be provided. // The runtime contract is documented here: https://github.com/knative/serving/blob/master/docs/runtime-contract.md Containers []*Container `protobuf:"bytes,4,rep,name=containers,proto3" json:"containers,omitempty"` Volumes []*Volume `protobuf:"bytes,5,rep,name=volumes,proto3" json:"volumes,omitempty"` // contains filtered or unexported fields }
func (*RevisionSpec) Descriptor
deprecated
func (*RevisionSpec) Descriptor() ([]byte, []int)
Deprecated: Use RevisionSpec.ProtoReflect.Descriptor instead.
func (*RevisionSpec) GetContainerConcurrency ¶
func (x *RevisionSpec) GetContainerConcurrency() int32
func (*RevisionSpec) GetContainers ¶
func (x *RevisionSpec) GetContainers() []*Container
func (*RevisionSpec) GetServiceAccountName ¶
func (x *RevisionSpec) GetServiceAccountName() string
func (*RevisionSpec) GetTimeoutSeconds ¶
func (x *RevisionSpec) GetTimeoutSeconds() int32
func (*RevisionSpec) GetVolumes ¶
func (x *RevisionSpec) GetVolumes() []*Volume
func (*RevisionSpec) ProtoMessage ¶
func (*RevisionSpec) ProtoMessage()
func (*RevisionSpec) ProtoReflect ¶
func (x *RevisionSpec) ProtoReflect() protoreflect.Message
func (*RevisionSpec) Reset ¶
func (x *RevisionSpec) Reset()
func (*RevisionSpec) String ¶
func (x *RevisionSpec) String() string
type RevisionStatus ¶
type RevisionStatus struct { // ObservedGeneration is the 'Generation' of the Revision that was last processed by the controller. // Clients polling for completed reconciliation should poll until observedGeneration = metadata.generation, // and the Ready condition's status is True or False. ObservedGeneration int32 `protobuf:"varint,1,opt,name=observed_generation,json=observedGeneration,proto3" json:"observed_generation,omitempty"` // Conditions communicates information about ongoing/complete reconciliation processes that bring the "spec" // inline with the observed state of the world. // As a Revision is being prepared, it will incrementally update conditions. // Revision-specific conditions include: // * "ResourcesAvailable": True when underlying resources have been provisioned. // * "ContainerHealthy": True when the Revision readiness check completes. // * "Active": True when the Revision may receive traffic. Conditions []*Condition `protobuf:"bytes,2,rep,name=conditions,proto3" json:"conditions,omitempty"` // Specifies the generated logging url for this particular revision based on the revision url template specified in the controller's config. LogUrl string `protobuf:"bytes,3,opt,name=log_url,json=logUrl,proto3" json:"log_url,omitempty"` // Not currently used by Cloud Run. ServiceName string `protobuf:"bytes,4,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` // ImageDigest holds the resolved digest for the image specified within .Spec.Container.Image. The digest is resolved during the creation of Revision. // This field holds the digest value regardless of whether a tag or digest was originally specified in the Container object. ImageDigest string `protobuf:"bytes,5,opt,name=image_digest,json=imageDigest,proto3" json:"image_digest,omitempty"` // contains filtered or unexported fields }
func (*RevisionStatus) Descriptor
deprecated
func (*RevisionStatus) Descriptor() ([]byte, []int)
Deprecated: Use RevisionStatus.ProtoReflect.Descriptor instead.
func (*RevisionStatus) GetConditions ¶
func (x *RevisionStatus) GetConditions() []*Condition
func (*RevisionStatus) GetImageDigest ¶
func (x *RevisionStatus) GetImageDigest() string
func (*RevisionStatus) GetLogUrl ¶
func (x *RevisionStatus) GetLogUrl() string
func (*RevisionStatus) GetObservedGeneration ¶
func (x *RevisionStatus) GetObservedGeneration() int32
func (*RevisionStatus) GetServiceName ¶
func (x *RevisionStatus) GetServiceName() string
func (*RevisionStatus) ProtoMessage ¶
func (*RevisionStatus) ProtoMessage()
func (*RevisionStatus) ProtoReflect ¶
func (x *RevisionStatus) ProtoReflect() protoreflect.Message
func (*RevisionStatus) Reset ¶
func (x *RevisionStatus) Reset()
func (*RevisionStatus) String ¶
func (x *RevisionStatus) String() string
type RevisionTemplate ¶
type RevisionTemplate struct { // Optional metadata for this Revision, including labels and annotations. Name will be generated by the Configuration. // The following annotation keys set properties of the created revision: // autoscaling.knative.dev/minScale sets the minimum number of instances. // autoscaling.knative.dev/maxScale sets the maximum number of instances. // run.googleapis.com/cloudsql-instances sets Cloud SQL connections. Multiple values should be comma separated. // run.googleapis.com/vpc-access-connector sets a Serverless VPC Access connector. // run.googleapis.com/vpc-access-egress sets VPC egress. Supported values are all-traffic, all (deprecated), and private-ranges-only. // all-traffic and all provide the same functionality. all is deprecated but will continue to be supported. Prefer all-traffic. Metadata *ObjectMeta `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` // RevisionSpec holds the desired state of the Revision (from the client). Spec *RevisionSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"` // contains filtered or unexported fields }
func (*RevisionTemplate) Descriptor
deprecated
func (*RevisionTemplate) Descriptor() ([]byte, []int)
Deprecated: Use RevisionTemplate.ProtoReflect.Descriptor instead.
func (*RevisionTemplate) GetMetadata ¶
func (x *RevisionTemplate) GetMetadata() *ObjectMeta
func (*RevisionTemplate) GetSpec ¶
func (x *RevisionTemplate) GetSpec() *RevisionSpec
func (*RevisionTemplate) ProtoMessage ¶
func (*RevisionTemplate) ProtoMessage()
func (*RevisionTemplate) ProtoReflect ¶
func (x *RevisionTemplate) ProtoReflect() protoreflect.Message
func (*RevisionTemplate) Reset ¶
func (x *RevisionTemplate) Reset()
func (*RevisionTemplate) String ¶
func (x *RevisionTemplate) String() string
type RevisionsClient ¶
type RevisionsClient interface { // Get information about a revision. GetRevision(ctx context.Context, in *GetRevisionRequest, opts ...grpc.CallOption) (*Revision, error) // List revisions. ListRevisions(ctx context.Context, in *ListRevisionsRequest, opts ...grpc.CallOption) (*ListRevisionsResponse, error) // Delete a revision. DeleteRevision(ctx context.Context, in *DeleteRevisionRequest, opts ...grpc.CallOption) (*Status, error) }
RevisionsClient is the client API for Revisions service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewRevisionsClient ¶
func NewRevisionsClient(cc grpc.ClientConnInterface) RevisionsClient
type RevisionsServer ¶
type RevisionsServer interface { // Get information about a revision. GetRevision(context.Context, *GetRevisionRequest) (*Revision, error) // List revisions. ListRevisions(context.Context, *ListRevisionsRequest) (*ListRevisionsResponse, error) // Delete a revision. DeleteRevision(context.Context, *DeleteRevisionRequest) (*Status, error) }
RevisionsServer is the server API for Revisions service.
type Route ¶
type Route struct { // The API version for this call such as "serving.knative.dev/v1". ApiVersion string `protobuf:"bytes,1,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"` // The kind of this resource, in this case always "Route". Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"` // Metadata associated with this Route, including name, namespace, labels, and annotations. Metadata *ObjectMeta `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"` // Spec holds the desired state of the Route (from the client). Spec *RouteSpec `protobuf:"bytes,4,opt,name=spec,proto3" json:"spec,omitempty"` // Status communicates the observed state of the Route (from the controller). Status *RouteStatus `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"` // contains filtered or unexported fields }
func (*Route) Descriptor
deprecated
func (*Route) GetApiVersion ¶
func (*Route) GetMetadata ¶
func (x *Route) GetMetadata() *ObjectMeta
func (*Route) GetStatus ¶
func (x *Route) GetStatus() *RouteStatus
func (*Route) ProtoMessage ¶
func (*Route) ProtoMessage()
func (*Route) ProtoReflect ¶
func (x *Route) ProtoReflect() protoreflect.Message
type RouteSpec ¶
type RouteSpec struct { // Traffic specifies how to distribute traffic over a collection of Knative Revisions and Configurations. // Cloud Run currently supports a single configurationName. Target []*TrafficTarget `protobuf:"bytes,1,rep,name=target,proto3" json:"target,omitempty"` // contains filtered or unexported fields }
func (*RouteSpec) Descriptor
deprecated
func (*RouteSpec) GetTarget ¶
func (x *RouteSpec) GetTarget() []*TrafficTarget
func (*RouteSpec) ProtoMessage ¶
func (*RouteSpec) ProtoMessage()
func (*RouteSpec) ProtoReflect ¶
func (x *RouteSpec) ProtoReflect() protoreflect.Message
type RouteStatus ¶
type RouteStatus struct { // ObservedGeneration is the 'Generation' of the Route that was last processed by the controller. // Clients polling for completed reconciliation should poll until observedGeneration = metadata.generation and the Ready condition's status is True or False. // Note that providing a trafficTarget that only has a configurationName will result in a Route that does not increment either its metadata.generation // or its observedGeneration, as new "latest ready" revisions from the Configuration are processed without an update to the Route's spec. ObservedGeneration int32 `protobuf:"varint,1,opt,name=observed_generation,json=observedGeneration,proto3" json:"observed_generation,omitempty"` // Conditions communicates information about ongoing/complete reconciliation processes that bring the "spec" inline with the observed state of the world. Conditions []*Condition `protobuf:"bytes,2,rep,name=conditions,proto3" json:"conditions,omitempty"` // Traffic holds the configured traffic distribution. These entries will always contain RevisionName references. // When ConfigurationName appears in the spec, this will hold the LatestReadyRevisionName that we last observed. Traffic []*TrafficTarget `protobuf:"bytes,3,rep,name=traffic,proto3" json:"traffic,omitempty"` // URL holds the url that will distribute traffic over the provided traffic targets. // It generally has the form: https://{route-hash}-{project-hash}-{cluster-level-suffix}.a.run.app Url string `protobuf:"bytes,4,opt,name=url,proto3" json:"url,omitempty"` // Similar to url, information on where the service is available on HTTP. Address *Addressable `protobuf:"bytes,5,opt,name=address,proto3" json:"address,omitempty"` // contains filtered or unexported fields }
func (*RouteStatus) Descriptor
deprecated
func (*RouteStatus) Descriptor() ([]byte, []int)
Deprecated: Use RouteStatus.ProtoReflect.Descriptor instead.
func (*RouteStatus) GetAddress ¶
func (x *RouteStatus) GetAddress() *Addressable
func (*RouteStatus) GetConditions ¶
func (x *RouteStatus) GetConditions() []*Condition
func (*RouteStatus) GetObservedGeneration ¶
func (x *RouteStatus) GetObservedGeneration() int32
func (*RouteStatus) GetTraffic ¶
func (x *RouteStatus) GetTraffic() []*TrafficTarget
func (*RouteStatus) GetUrl ¶
func (x *RouteStatus) GetUrl() string
func (*RouteStatus) ProtoMessage ¶
func (*RouteStatus) ProtoMessage()
func (*RouteStatus) ProtoReflect ¶
func (x *RouteStatus) ProtoReflect() protoreflect.Message
func (*RouteStatus) Reset ¶
func (x *RouteStatus) Reset()
func (*RouteStatus) String ¶
func (x *RouteStatus) String() string
type RoutesClient ¶
type RoutesClient interface { // Get information about a route. GetRoute(ctx context.Context, in *GetRouteRequest, opts ...grpc.CallOption) (*Route, error) // List routes. ListRoutes(ctx context.Context, in *ListRoutesRequest, opts ...grpc.CallOption) (*ListRoutesResponse, error) }
RoutesClient is the client API for Routes service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewRoutesClient ¶
func NewRoutesClient(cc grpc.ClientConnInterface) RoutesClient
type RoutesServer ¶
type RoutesServer interface { // Get information about a route. GetRoute(context.Context, *GetRouteRequest) (*Route, error) // List routes. ListRoutes(context.Context, *ListRoutesRequest) (*ListRoutesResponse, error) }
RoutesServer is the server API for Routes service.
type SecretEnvSource ¶ added in v0.2.0
type SecretEnvSource struct { // This field should not be used directly as it is meant to be inlined directly into the message. Use the "name" field instead. LocalObjectReference *LocalObjectReference `protobuf:"bytes,1,opt,name=local_object_reference,json=localObjectReference,proto3" json:"local_object_reference,omitempty"` // Cloud Run fully managed: not supported // Cloud Run for Anthos: supported // Specify whether the Secret must be defined Optional bool `protobuf:"varint,2,opt,name=optional,proto3" json:"optional,omitempty"` // Cloud Run fully managed: not supported // Cloud Run for Anthos: supported // The Secret to select from. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Cloud Run fully managed: not supported Cloud Run for Anthos: supported SecretEnvSource selects a Secret to populate the environment variables with. The contents of the target Secret's Data field will represent the key-value pairs as environment variables.
func (*SecretEnvSource) Descriptor
deprecated
added in
v0.2.0
func (*SecretEnvSource) Descriptor() ([]byte, []int)
Deprecated: Use SecretEnvSource.ProtoReflect.Descriptor instead.
func (*SecretEnvSource) GetLocalObjectReference ¶ added in v0.2.0
func (x *SecretEnvSource) GetLocalObjectReference() *LocalObjectReference
func (*SecretEnvSource) GetName ¶ added in v0.2.0
func (x *SecretEnvSource) GetName() string
func (*SecretEnvSource) GetOptional ¶ added in v0.2.0
func (x *SecretEnvSource) GetOptional() bool
func (*SecretEnvSource) ProtoMessage ¶ added in v0.2.0
func (*SecretEnvSource) ProtoMessage()
func (*SecretEnvSource) ProtoReflect ¶ added in v0.2.0
func (x *SecretEnvSource) ProtoReflect() protoreflect.Message
func (*SecretEnvSource) Reset ¶ added in v0.2.0
func (x *SecretEnvSource) Reset()
func (*SecretEnvSource) String ¶ added in v0.2.0
func (x *SecretEnvSource) String() string
type SecretKeySelector ¶ added in v0.2.0
type SecretKeySelector struct { // This field should not be used directly as it is meant to be inlined directly into the message. Use the "name" field instead. LocalObjectReference *LocalObjectReference `protobuf:"bytes,1,opt,name=local_object_reference,json=localObjectReference,proto3" json:"local_object_reference,omitempty"` // Cloud Run fully managed: supported // A Cloud Secret Manager secret version. Must be 'latest' for the latest version or an integer for a specific version. // Cloud Run for Anthos: supported // The key of the secret to select from. Must be a valid secret key. Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` // Cloud Run fully managed: not supported // Cloud Run for Anthos: supported // Specify whether the Secret or its key must be defined Optional bool `protobuf:"varint,3,opt,name=optional,proto3" json:"optional,omitempty"` // Cloud Run fully managed: supported // The name of the secret in Cloud Secret Manager. By default, the secret is assumed to be in the same project. // If the secret is in another project, you must define an alias. // An alias definition has the form: :projects/<project-id|project-number>/secrets/. // If multiple alias definitions are needed, they must be separated by commas. // The alias definitions must be set on the run.googleapis.com/secrets annotation. // Cloud Run for Anthos: supported // The name of the secret in the pod's namespace to select from. Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Cloud Run fully managed: supported Cloud Run for Anthos: supported SecretKeySelector selects a key of a Secret.
func (*SecretKeySelector) Descriptor
deprecated
added in
v0.2.0
func (*SecretKeySelector) Descriptor() ([]byte, []int)
Deprecated: Use SecretKeySelector.ProtoReflect.Descriptor instead.
func (*SecretKeySelector) GetKey ¶ added in v0.2.0
func (x *SecretKeySelector) GetKey() string
func (*SecretKeySelector) GetLocalObjectReference ¶ added in v0.2.0
func (x *SecretKeySelector) GetLocalObjectReference() *LocalObjectReference
func (*SecretKeySelector) GetName ¶ added in v0.2.0
func (x *SecretKeySelector) GetName() string
func (*SecretKeySelector) GetOptional ¶ added in v0.2.0
func (x *SecretKeySelector) GetOptional() bool
func (*SecretKeySelector) ProtoMessage ¶ added in v0.2.0
func (*SecretKeySelector) ProtoMessage()
func (*SecretKeySelector) ProtoReflect ¶ added in v0.2.0
func (x *SecretKeySelector) ProtoReflect() protoreflect.Message
func (*SecretKeySelector) Reset ¶ added in v0.2.0
func (x *SecretKeySelector) Reset()
func (*SecretKeySelector) String ¶ added in v0.2.0
func (x *SecretKeySelector) String() string
type SecretVolumeSource ¶ added in v0.2.0
type SecretVolumeSource struct { // Cloud Run fully managed: supported // The name of the secret in Cloud Secret Manager. By default, the secret is assumed to be in the same project. // If the secret is in another project, you must define an alias. // An alias definition has the form: :projects/<project-id|project-number>/secrets/. // If multiple alias definitions are needed, they must be separated by commas. // The alias definitions must be set on the run.googleapis.com/secrets annotation. // Cloud Run for Anthos: supported // Name of the secret in the container's namespace to use. SecretName string `protobuf:"bytes,1,opt,name=secret_name,json=secretName,proto3" json:"secret_name,omitempty"` // Cloud Run fully managed: supported // If unspecified, the volume will expose a file whose name is the secret_name. // If specified, the key will be used as the version to fetch from Cloud Secret Manager and the path will be // the name of the file exposed in the volume. When items are defined, they must specify a key and a path. // Cloud Run for Anthos: supported // If unspecified, each key-value pair in the Data field of the referenced Secret will be projected // into the volume as a file whose name is the key and content is the value. // If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. // If a key is specified that is not present in the Secret, the volume setup will error unless it is marked optional. Items []*KeyToPath `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"` // Cloud Run fully managed: not supported // Cloud Run for Anthos: supported // Mode bits to use on created files by default. Must be a value between 0000 and 0777. // Defaults to 0644. Directories within the path are not affected by this setting. // This might be in conflict with other options that affect the file mode, like fsGroup, // and the result can be other mode bits set. // NOTE: This is an integer representation of the mode bits. So, the integer value should look exactly // as the chmod numeric notation, i.e. Unix chmod "777" (a=rwx) should have the integer value 777. DefaultMode int32 `protobuf:"varint,3,opt,name=default_mode,json=defaultMode,proto3" json:"default_mode,omitempty"` // Cloud Run fully managed: not supported // Cloud Run for Anthos: supported // Specify whether the Secret or its keys must be defined. Optional bool `protobuf:"varint,4,opt,name=optional,proto3" json:"optional,omitempty"` // contains filtered or unexported fields }
Cloud Run fully managed: supported The secret's value will be presented as the content of a file whose name is defined in the item path. If no items are defined, the name of the file is the secret_name. Cloud Run for Anthos: supported The contents of the target Secret's Data field will be presented in a volume as files using the keys in the Data field as the file names.
func (*SecretVolumeSource) Descriptor
deprecated
added in
v0.2.0
func (*SecretVolumeSource) Descriptor() ([]byte, []int)
Deprecated: Use SecretVolumeSource.ProtoReflect.Descriptor instead.
func (*SecretVolumeSource) GetDefaultMode ¶ added in v0.2.0
func (x *SecretVolumeSource) GetDefaultMode() int32
func (*SecretVolumeSource) GetItems ¶ added in v0.2.0
func (x *SecretVolumeSource) GetItems() []*KeyToPath
func (*SecretVolumeSource) GetOptional ¶ added in v0.2.0
func (x *SecretVolumeSource) GetOptional() bool
func (*SecretVolumeSource) GetSecretName ¶ added in v0.2.0
func (x *SecretVolumeSource) GetSecretName() string
func (*SecretVolumeSource) ProtoMessage ¶ added in v0.2.0
func (*SecretVolumeSource) ProtoMessage()
func (*SecretVolumeSource) ProtoReflect ¶ added in v0.2.0
func (x *SecretVolumeSource) ProtoReflect() protoreflect.Message
func (*SecretVolumeSource) Reset ¶ added in v0.2.0
func (x *SecretVolumeSource) Reset()
func (*SecretVolumeSource) String ¶ added in v0.2.0
func (x *SecretVolumeSource) String() string
type SecurityContext ¶ added in v0.2.0
type SecurityContext struct { // Cloud Run fully managed: not supported // Cloud Run for Anthos: supported // The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. // May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, // the value specified in SecurityContext takes precedence. RunAsUser int32 `protobuf:"varint,1,opt,name=run_as_user,json=runAsUser,proto3" json:"run_as_user,omitempty"` // contains filtered or unexported fields }
Cloud Run fully managed: not supported Cloud Run for Anthos: supported SecurityContext holds security configuration that will be applied to a container. Some fields are present in both SecurityContext and PodSecurityContext. When both are set, the values in SecurityContext take precedence.
func (*SecurityContext) Descriptor
deprecated
added in
v0.2.0
func (*SecurityContext) Descriptor() ([]byte, []int)
Deprecated: Use SecurityContext.ProtoReflect.Descriptor instead.
func (*SecurityContext) GetRunAsUser ¶ added in v0.2.0
func (x *SecurityContext) GetRunAsUser() int32
func (*SecurityContext) ProtoMessage ¶ added in v0.2.0
func (*SecurityContext) ProtoMessage()
func (*SecurityContext) ProtoReflect ¶ added in v0.2.0
func (x *SecurityContext) ProtoReflect() protoreflect.Message
func (*SecurityContext) Reset ¶ added in v0.2.0
func (x *SecurityContext) Reset()
func (*SecurityContext) String ¶ added in v0.2.0
func (x *SecurityContext) String() string
type Service ¶
type Service struct { // The API version for this call such as "serving.knative.dev/v1". ApiVersion string `protobuf:"bytes,1,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"` // The kind of resource, in this case "Service". Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"` // Metadata associated with this Service, including name, namespace, labels, and annotations. // Cloud Run (fully managed) uses the following annotation keys to configure features on a Service: // run.googleapis.com/ingress sets the ingress settings for the Service. // See the ingress settings documentation for details on configuring ingress settings. // run.googleapis.com/ingress-status is output-only and contains the currently active ingress settings for the Service. // run.googleapis.com/ingress-status may differ from run.googleapis.com/ingress while the system is processing a change // to run.googleapis.com/ingress or if the system failed to process a change to run.googleapis.com/ingress. // When the system has processed all changes successfully run.googleapis.com/ingress-status and run.googleapis.com/ingress are equal. Metadata *ObjectMeta `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"` // Spec holds the desired state of the Service (from the client). Spec *ServiceSpec `protobuf:"bytes,4,opt,name=spec,proto3" json:"spec,omitempty"` // Status communicates the observed state of the Service (from the controller). Status *ServiceStatus `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"` // contains filtered or unexported fields }
func (*Service) Descriptor
deprecated
func (*Service) GetApiVersion ¶
func (*Service) GetMetadata ¶
func (x *Service) GetMetadata() *ObjectMeta
func (*Service) GetSpec ¶
func (x *Service) GetSpec() *ServiceSpec
func (*Service) GetStatus ¶
func (x *Service) GetStatus() *ServiceStatus
func (*Service) ProtoMessage ¶
func (*Service) ProtoMessage()
func (*Service) ProtoReflect ¶
func (x *Service) ProtoReflect() protoreflect.Message
type ServiceSpec ¶
type ServiceSpec struct { // Template holds the latest specification for the Revision to be stamped out. Template *RevisionTemplate `protobuf:"bytes,1,opt,name=template,proto3" json:"template,omitempty"` // Traffic specifies how to distribute traffic over a collection of Knative Revisions and Configurations. Traffic []*TrafficTarget `protobuf:"bytes,2,rep,name=traffic,proto3" json:"traffic,omitempty"` // contains filtered or unexported fields }
func (*ServiceSpec) Descriptor
deprecated
func (*ServiceSpec) Descriptor() ([]byte, []int)
Deprecated: Use ServiceSpec.ProtoReflect.Descriptor instead.
func (*ServiceSpec) GetTemplate ¶
func (x *ServiceSpec) GetTemplate() *RevisionTemplate
func (*ServiceSpec) GetTraffic ¶ added in v0.2.3
func (x *ServiceSpec) GetTraffic() []*TrafficTarget
func (*ServiceSpec) ProtoMessage ¶
func (*ServiceSpec) ProtoMessage()
func (*ServiceSpec) ProtoReflect ¶
func (x *ServiceSpec) ProtoReflect() protoreflect.Message
func (*ServiceSpec) Reset ¶
func (x *ServiceSpec) Reset()
func (*ServiceSpec) String ¶
func (x *ServiceSpec) String() string
type ServiceStatus ¶
type ServiceStatus struct { // ObservedGeneration is the 'Generation' of the Route that was last processed by the controller. // Clients polling for completed reconciliation should poll until observedGeneration = metadata.generation // and the Ready condition's status is True or False. ObservedGeneration int32 `protobuf:"varint,1,opt,name=observed_generation,json=observedGeneration,proto3" json:"observed_generation,omitempty"` // Conditions communicates information about ongoing/complete reconciliation processes that bring the "spec" inline with the observed state // of the world. Service-specific conditions include: * "ConfigurationsReady": true when the underlying Configuration is ready. // * "RoutesReady": true when the underlying Route is ready. * "Ready": true when both the underlying Route and Configuration are ready. Conditions []*Condition `protobuf:"bytes,2,rep,name=conditions,proto3" json:"conditions,omitempty"` // From ConfigurationStatus. LatestReadyRevisionName holds the name of the latest Revision stamped out from this Service's Configuration // that has had its "Ready" condition become "True". LatestReadyRevisionName string `` /* 134-byte string literal not displayed */ // From ConfigurationStatus. LatestCreatedRevisionName is the last revision that was created from this Service's Configuration. // It might not be ready yet, for that use LatestReadyRevisionName. LatestCreatedRevisionName string `` /* 140-byte string literal not displayed */ // From RouteStatus. Traffic holds the configured traffic distribution. These entries will always contain RevisionName references. // When ConfigurationName appears in the spec, this will hold the LatestReadyRevisionName that we last observed. Traffic []*TrafficTarget `protobuf:"bytes,5,rep,name=traffic,proto3" json:"traffic,omitempty"` // From RouteStatus. URL holds the url that will distribute traffic over the provided traffic targets. // It generally has the form https://{route-hash}-{project-hash}-{cluster-level-suffix}.a.run.app Url string `protobuf:"bytes,6,opt,name=url,proto3" json:"url,omitempty"` // From RouteStatus. Similar to url, information on where the service is available on HTTP. Address *Addressable `protobuf:"bytes,7,opt,name=address,proto3" json:"address,omitempty"` // contains filtered or unexported fields }
func (*ServiceStatus) Descriptor
deprecated
func (*ServiceStatus) Descriptor() ([]byte, []int)
Deprecated: Use ServiceStatus.ProtoReflect.Descriptor instead.
func (*ServiceStatus) GetAddress ¶
func (x *ServiceStatus) GetAddress() *Addressable
func (*ServiceStatus) GetConditions ¶
func (x *ServiceStatus) GetConditions() []*Condition
func (*ServiceStatus) GetLatestCreatedRevisionName ¶
func (x *ServiceStatus) GetLatestCreatedRevisionName() string
func (*ServiceStatus) GetLatestReadyRevisionName ¶
func (x *ServiceStatus) GetLatestReadyRevisionName() string
func (*ServiceStatus) GetObservedGeneration ¶
func (x *ServiceStatus) GetObservedGeneration() int32
func (*ServiceStatus) GetTraffic ¶
func (x *ServiceStatus) GetTraffic() []*TrafficTarget
func (*ServiceStatus) GetUrl ¶
func (x *ServiceStatus) GetUrl() string
func (*ServiceStatus) ProtoMessage ¶
func (*ServiceStatus) ProtoMessage()
func (*ServiceStatus) ProtoReflect ¶
func (x *ServiceStatus) ProtoReflect() protoreflect.Message
func (*ServiceStatus) Reset ¶
func (x *ServiceStatus) Reset()
func (*ServiceStatus) String ¶
func (x *ServiceStatus) String() string
type ServicesClient ¶
type ServicesClient interface { // Create a service. CreateService(ctx context.Context, in *CreateServiceRequest, opts ...grpc.CallOption) (*Service, error) // Get information about a service. GetService(ctx context.Context, in *GetServiceRequest, opts ...grpc.CallOption) (*Service, error) // List services. ListServices(ctx context.Context, in *ListServicesRequest, opts ...grpc.CallOption) (*ListServicesResponse, error) // Replace a service. // Only the spec and metadata labels and annotations are modifiable. After the Update request, // Cloud Run will work to make the 'status' match the requested 'spec'. // May provide metadata.resourceVersion to enforce update from last read for optimistic concurrency control. ReplaceService(ctx context.Context, in *ReplaceServiceRequest, opts ...grpc.CallOption) (*Service, error) // Delete a service. This will cause the Service to stop serving traffic and will delete the child entities // like Routes, Configurations and Revisions. DeleteService(ctx context.Context, in *DeleteServiceRequest, opts ...grpc.CallOption) (*Status, error) // Returns permissions that a caller has on the specified Project. // There are no permissions required for making this API call. TestIamPermissions(ctx context.Context, in *v1.TestIamPermissionsRequest, opts ...grpc.CallOption) (*v1.TestIamPermissionsResponse, error) // Get the IAM Access Control policy currently in effect for the given Cloud Run service. // This result does not include any inherited policies. GetIamPolicy(ctx context.Context, in *v1.GetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error) // Sets the IAM Access control policy for the specified Service. Overwrites any existing policy. SetIamPolicy(ctx context.Context, in *v1.SetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error) }
ServicesClient is the client API for Services service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewServicesClient ¶
func NewServicesClient(cc grpc.ClientConnInterface) ServicesClient
type ServicesServer ¶
type ServicesServer interface { // Create a service. CreateService(context.Context, *CreateServiceRequest) (*Service, error) // Get information about a service. GetService(context.Context, *GetServiceRequest) (*Service, error) // List services. ListServices(context.Context, *ListServicesRequest) (*ListServicesResponse, error) // Replace a service. // Only the spec and metadata labels and annotations are modifiable. After the Update request, // Cloud Run will work to make the 'status' match the requested 'spec'. // May provide metadata.resourceVersion to enforce update from last read for optimistic concurrency control. ReplaceService(context.Context, *ReplaceServiceRequest) (*Service, error) // Delete a service. This will cause the Service to stop serving traffic and will delete the child entities // like Routes, Configurations and Revisions. DeleteService(context.Context, *DeleteServiceRequest) (*Status, error) // Returns permissions that a caller has on the specified Project. // There are no permissions required for making this API call. TestIamPermissions(context.Context, *v1.TestIamPermissionsRequest) (*v1.TestIamPermissionsResponse, error) // Get the IAM Access Control policy currently in effect for the given Cloud Run service. // This result does not include any inherited policies. GetIamPolicy(context.Context, *v1.GetIamPolicyRequest) (*v1.Policy, error) // Sets the IAM Access control policy for the specified Service. Overwrites any existing policy. SetIamPolicy(context.Context, *v1.SetIamPolicyRequest) (*v1.Policy, error) }
ServicesServer is the server API for Services service.
type Status ¶ added in v0.2.0
type Status struct { // Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds Metadata *ListMeta `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` // Status of the operation. One of: "Success" or "Failure". // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` // A human-readable description of the status of this operation. Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` // A machine-readable description of why this operation is in the "Failure" status. // If this value is empty there is no information available. A Reason clarifies an HTTP status code but does not override it. Reason string `protobuf:"bytes,4,opt,name=reason,proto3" json:"reason,omitempty"` // Extended data associated with the reason. Each reason may define its own extended details. // This field is optional and the data returned is not guaranteed to conform to any schema except that defined by the reason type. Details *StatusDetails `protobuf:"bytes,5,opt,name=details,proto3" json:"details,omitempty"` // Suggested HTTP return code for this status, 0 if not set. Code int32 `protobuf:"varint,6,opt,name=code,proto3" json:"code,omitempty"` // contains filtered or unexported fields }
Status is a return value for calls that don't return other objects
func (*Status) Descriptor
deprecated
added in
v0.2.0
func (*Status) GetDetails ¶ added in v0.2.0
func (x *Status) GetDetails() *StatusDetails
func (*Status) GetMessage ¶ added in v0.2.0
func (*Status) GetMetadata ¶ added in v0.2.0
func (*Status) ProtoMessage ¶ added in v0.2.0
func (*Status) ProtoMessage()
func (*Status) ProtoReflect ¶ added in v0.2.0
func (x *Status) ProtoReflect() protoreflect.Message
type StatusCause ¶ added in v0.2.0
type StatusCause struct { // A machine-readable description of the cause of the error. If this value is empty there is no information available. Reason string `protobuf:"bytes,1,opt,name=reason,proto3" json:"reason,omitempty"` // A human-readable description of the cause of the error. This field may be presented as-is to a reader. Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // The field of the resource that has caused this error, as named by its JSON serialization. // May include dot and postfix notation for nested attributes. Arrays are zero-indexed. // Fields may appear more than once in an array of causes due to fields having multiple errors. // Examples: "name" - the field "name" on the current resource "items[0].name" - the field "name" on the first array entry in "items" Field string `protobuf:"bytes,3,opt,name=field,proto3" json:"field,omitempty"` // contains filtered or unexported fields }
StatusCause provides more information about an api.Status failure, including cases when multiple errors are encountered.
func (*StatusCause) Descriptor
deprecated
added in
v0.2.0
func (*StatusCause) Descriptor() ([]byte, []int)
Deprecated: Use StatusCause.ProtoReflect.Descriptor instead.
func (*StatusCause) GetField ¶ added in v0.2.0
func (x *StatusCause) GetField() string
func (*StatusCause) GetMessage ¶ added in v0.2.0
func (x *StatusCause) GetMessage() string
func (*StatusCause) GetReason ¶ added in v0.2.0
func (x *StatusCause) GetReason() string
func (*StatusCause) ProtoMessage ¶ added in v0.2.0
func (*StatusCause) ProtoMessage()
func (*StatusCause) ProtoReflect ¶ added in v0.2.0
func (x *StatusCause) ProtoReflect() protoreflect.Message
func (*StatusCause) Reset ¶ added in v0.2.0
func (x *StatusCause) Reset()
func (*StatusCause) String ¶ added in v0.2.0
func (x *StatusCause) String() string
type StatusDetails ¶ added in v0.2.0
type StatusDetails struct { // The name attribute of the resource associated with the status StatusReason (when there is a single name which can be described). Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The group attribute of the resource associated with the status StatusReason Group string `protobuf:"bytes,2,opt,name=group,proto3" json:"group,omitempty"` // The kind attribute of the resource associated with the status StatusReason. // On some operations may differ from the requested resource Kind. // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds Kind string `protobuf:"bytes,3,opt,name=kind,proto3" json:"kind,omitempty"` // UID of the resource. (when there is a single resource which can be described). // More info: http://kubernetes.io/docs/user-guide/identifiers#uids Uid string `protobuf:"bytes,4,opt,name=uid,proto3" json:"uid,omitempty"` // The Causes array includes more details associated with the StatusReason failure. Not all StatusReasons may provide detailed causes. Causes []*StatusCause `protobuf:"bytes,5,rep,name=causes,proto3" json:"causes,omitempty"` // If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - // for those errors this field may indicate how long to wait before taking the alternate action. RetryAfterSeconds int32 `protobuf:"varint,6,opt,name=retry_after_seconds,json=retryAfterSeconds,proto3" json:"retry_after_seconds,omitempty"` // contains filtered or unexported fields }
StatusDetails is a set of additional properties that MAY be set by the server to provide additional information about a response. The Reason field of a Status object defines what attributes will be set. Clients must ignore fields that do not match the defined type of each attribute, and should assume that any attribute may be empty, invalid, or under defined.
func (*StatusDetails) Descriptor
deprecated
added in
v0.2.0
func (*StatusDetails) Descriptor() ([]byte, []int)
Deprecated: Use StatusDetails.ProtoReflect.Descriptor instead.
func (*StatusDetails) GetCauses ¶ added in v0.2.0
func (x *StatusDetails) GetCauses() []*StatusCause
func (*StatusDetails) GetGroup ¶ added in v0.2.0
func (x *StatusDetails) GetGroup() string
func (*StatusDetails) GetKind ¶ added in v0.2.0
func (x *StatusDetails) GetKind() string
func (*StatusDetails) GetName ¶ added in v0.2.0
func (x *StatusDetails) GetName() string
func (*StatusDetails) GetRetryAfterSeconds ¶ added in v0.2.0
func (x *StatusDetails) GetRetryAfterSeconds() int32
func (*StatusDetails) GetUid ¶ added in v0.2.0
func (x *StatusDetails) GetUid() string
func (*StatusDetails) ProtoMessage ¶ added in v0.2.0
func (*StatusDetails) ProtoMessage()
func (*StatusDetails) ProtoReflect ¶ added in v0.2.0
func (x *StatusDetails) ProtoReflect() protoreflect.Message
func (*StatusDetails) Reset ¶ added in v0.2.0
func (x *StatusDetails) Reset()
func (*StatusDetails) String ¶ added in v0.2.0
func (x *StatusDetails) String() string
type TCPSocketAction ¶ added in v0.2.0
type TCPSocketAction struct { // Cloud Run fully managed: not supported // Cloud Run for Anthos: supported // Number or name of the port to access on the container. Number must be in the range 1 to 65535. // Name must be an IANA_SVC_NAME. // This field is currently limited to integer types only because of proto's inability to properly // support the IntOrString golang type. Port int32 `protobuf:"varint,1,opt,name=port,proto3" json:"port,omitempty"` // Cloud Run fully managed: not supported // Cloud Run for Anthos: supported // Optional: Host name to connect to, defaults to the pod IP. Host string `protobuf:"bytes,2,opt,name=host,proto3" json:"host,omitempty"` // contains filtered or unexported fields }
Cloud Run fully managed: not supported Cloud Run for Anthos: supported TCPSocketAction describes an action based on opening a socket
func (*TCPSocketAction) Descriptor
deprecated
added in
v0.2.0
func (*TCPSocketAction) Descriptor() ([]byte, []int)
Deprecated: Use TCPSocketAction.ProtoReflect.Descriptor instead.
func (*TCPSocketAction) GetHost ¶ added in v0.2.0
func (x *TCPSocketAction) GetHost() string
func (*TCPSocketAction) GetPort ¶ added in v0.2.0
func (x *TCPSocketAction) GetPort() int32
func (*TCPSocketAction) ProtoMessage ¶ added in v0.2.0
func (*TCPSocketAction) ProtoMessage()
func (*TCPSocketAction) ProtoReflect ¶ added in v0.2.0
func (x *TCPSocketAction) ProtoReflect() protoreflect.Message
func (*TCPSocketAction) Reset ¶ added in v0.2.0
func (x *TCPSocketAction) Reset()
func (*TCPSocketAction) String ¶ added in v0.2.0
func (x *TCPSocketAction) String() string
type TrafficTarget ¶
type TrafficTarget struct { // ConfigurationName of a configuration to whose latest revision we will send this portion of traffic. // When the "status.latestReadyRevisionName" of the referenced configuration changes, we will automatically migrate traffic // from the prior "latest ready" revision to the new one. This field is never set in Route's status, only its spec. // This is mutually exclusive with RevisionName. // Cloud Run currently supports a single ConfigurationName. ConfigurationName string `protobuf:"bytes,1,opt,name=configuration_name,json=configurationName,proto3" json:"configuration_name,omitempty"` // RevisionName of a specific revision to which to send this portion of traffic. This is mutually exclusive with ConfigurationName. // Providing RevisionName in spec is not currently supported by Cloud Run. RevisionName string `protobuf:"bytes,2,opt,name=revision_name,json=revisionName,proto3" json:"revision_name,omitempty"` // Percent specifies percent of the traffic to this Revision or Configuration. This defaults to zero if unspecified. // Cloud Run currently requires 100 percent for a single ConfigurationName TrafficTarget entry. Percent int32 `protobuf:"varint,3,opt,name=percent,proto3" json:"percent,omitempty"` // Tag is optionally used to expose a dedicated url for referencing this target exclusively. Tag string `protobuf:"bytes,4,opt,name=tag,proto3" json:"tag,omitempty"` // LatestRevision may be optionally provided to indicate that the latest ready Revision of the Configuration should be used for this traffic target. // When provided LatestRevision must be true if RevisionName is empty; it must be false when RevisionName is non-empty. LatestRevision bool `protobuf:"varint,5,opt,name=latest_revision,json=latestRevision,proto3" json:"latest_revision,omitempty"` // Output only. URL displays the URL for accessing tagged traffic targets. URL is displayed in status, and is disallowed on spec. // URL must contain a scheme (e.g. http://) and a hostname, but may not contain anything else (e.g. basic auth, url path, etc.) Url string `protobuf:"bytes,6,opt,name=url,proto3" json:"url,omitempty"` // contains filtered or unexported fields }
func (*TrafficTarget) Descriptor
deprecated
func (*TrafficTarget) Descriptor() ([]byte, []int)
Deprecated: Use TrafficTarget.ProtoReflect.Descriptor instead.
func (*TrafficTarget) GetConfigurationName ¶
func (x *TrafficTarget) GetConfigurationName() string
func (*TrafficTarget) GetLatestRevision ¶
func (x *TrafficTarget) GetLatestRevision() bool
func (*TrafficTarget) GetPercent ¶
func (x *TrafficTarget) GetPercent() int32
func (*TrafficTarget) GetRevisionName ¶
func (x *TrafficTarget) GetRevisionName() string
func (*TrafficTarget) GetTag ¶
func (x *TrafficTarget) GetTag() string
func (*TrafficTarget) GetUrl ¶
func (x *TrafficTarget) GetUrl() string
func (*TrafficTarget) ProtoMessage ¶
func (*TrafficTarget) ProtoMessage()
func (*TrafficTarget) ProtoReflect ¶
func (x *TrafficTarget) ProtoReflect() protoreflect.Message
func (*TrafficTarget) Reset ¶
func (x *TrafficTarget) Reset()
func (*TrafficTarget) String ¶
func (x *TrafficTarget) String() string
type UnimplementedAuthorizedDomainsServer ¶
type UnimplementedAuthorizedDomainsServer struct { }
UnimplementedAuthorizedDomainsServer can be embedded to have forward compatible implementations.
func (*UnimplementedAuthorizedDomainsServer) ListAuthorizedDomains ¶
func (*UnimplementedAuthorizedDomainsServer) ListAuthorizedDomains(context.Context, *ListAuthorizedDomainsRequest) (*ListAuthorizedDomainsResponse, error)
type UnimplementedConfigurationsServer ¶
type UnimplementedConfigurationsServer struct { }
UnimplementedConfigurationsServer can be embedded to have forward compatible implementations.
func (*UnimplementedConfigurationsServer) GetConfiguration ¶
func (*UnimplementedConfigurationsServer) GetConfiguration(context.Context, *GetConfigurationRequest) (*Configuration, error)
func (*UnimplementedConfigurationsServer) ListConfigurations ¶
func (*UnimplementedConfigurationsServer) ListConfigurations(context.Context, *ListConfigurationsRequest) (*ListConfigurationsResponse, error)
type UnimplementedDomainMappingsServer ¶
type UnimplementedDomainMappingsServer struct { }
UnimplementedDomainMappingsServer can be embedded to have forward compatible implementations.
func (*UnimplementedDomainMappingsServer) CreateDomainMapping ¶
func (*UnimplementedDomainMappingsServer) CreateDomainMapping(context.Context, *CreateDomainMappingRequest) (*DomainMapping, error)
func (*UnimplementedDomainMappingsServer) DeleteDomainMapping ¶
func (*UnimplementedDomainMappingsServer) DeleteDomainMapping(context.Context, *DeleteDomainMappingRequest) (*Status, error)
func (*UnimplementedDomainMappingsServer) GetDomainMapping ¶
func (*UnimplementedDomainMappingsServer) GetDomainMapping(context.Context, *GetDomainMappingRequest) (*DomainMapping, error)
func (*UnimplementedDomainMappingsServer) ListDomainMappings ¶
func (*UnimplementedDomainMappingsServer) ListDomainMappings(context.Context, *ListDomainMappingsRequest) (*ListDomainMappingsResponse, error)
type UnimplementedRevisionsServer ¶
type UnimplementedRevisionsServer struct { }
UnimplementedRevisionsServer can be embedded to have forward compatible implementations.
func (*UnimplementedRevisionsServer) DeleteRevision ¶
func (*UnimplementedRevisionsServer) DeleteRevision(context.Context, *DeleteRevisionRequest) (*Status, error)
func (*UnimplementedRevisionsServer) GetRevision ¶
func (*UnimplementedRevisionsServer) GetRevision(context.Context, *GetRevisionRequest) (*Revision, error)
func (*UnimplementedRevisionsServer) ListRevisions ¶
func (*UnimplementedRevisionsServer) ListRevisions(context.Context, *ListRevisionsRequest) (*ListRevisionsResponse, error)
type UnimplementedRoutesServer ¶
type UnimplementedRoutesServer struct { }
UnimplementedRoutesServer can be embedded to have forward compatible implementations.
func (*UnimplementedRoutesServer) GetRoute ¶
func (*UnimplementedRoutesServer) GetRoute(context.Context, *GetRouteRequest) (*Route, error)
func (*UnimplementedRoutesServer) ListRoutes ¶
func (*UnimplementedRoutesServer) ListRoutes(context.Context, *ListRoutesRequest) (*ListRoutesResponse, error)
type UnimplementedServicesServer ¶
type UnimplementedServicesServer struct { }
UnimplementedServicesServer can be embedded to have forward compatible implementations.
func (*UnimplementedServicesServer) CreateService ¶
func (*UnimplementedServicesServer) CreateService(context.Context, *CreateServiceRequest) (*Service, error)
func (*UnimplementedServicesServer) DeleteService ¶
func (*UnimplementedServicesServer) DeleteService(context.Context, *DeleteServiceRequest) (*Status, error)
func (*UnimplementedServicesServer) GetIamPolicy ¶
func (*UnimplementedServicesServer) GetIamPolicy(context.Context, *v1.GetIamPolicyRequest) (*v1.Policy, error)
func (*UnimplementedServicesServer) GetService ¶
func (*UnimplementedServicesServer) GetService(context.Context, *GetServiceRequest) (*Service, error)
func (*UnimplementedServicesServer) ListServices ¶
func (*UnimplementedServicesServer) ListServices(context.Context, *ListServicesRequest) (*ListServicesResponse, error)
func (*UnimplementedServicesServer) ReplaceService ¶
func (*UnimplementedServicesServer) ReplaceService(context.Context, *ReplaceServiceRequest) (*Service, error)
func (*UnimplementedServicesServer) SetIamPolicy ¶
func (*UnimplementedServicesServer) SetIamPolicy(context.Context, *v1.SetIamPolicyRequest) (*v1.Policy, error)
func (*UnimplementedServicesServer) TestIamPermissions ¶
func (*UnimplementedServicesServer) TestIamPermissions(context.Context, *v1.TestIamPermissionsRequest) (*v1.TestIamPermissionsResponse, error)
type Volume ¶ added in v0.2.0
type Volume struct { // Cloud Run fully managed: supported // Cloud Run for Anthos: supported // Volume's name. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Cloud Run fully managed: supported // Cloud Run for Anthos: supported Secret *SecretVolumeSource `protobuf:"bytes,2,opt,name=secret,proto3" json:"secret,omitempty"` // Cloud Run fully managed: not supported // Cloud Run for Anthos: supported ConfigMap *ConfigMapVolumeSource `protobuf:"bytes,3,opt,name=config_map,json=configMap,proto3" json:"config_map,omitempty"` // contains filtered or unexported fields }
Cloud Run fully managed: not supported Cloud Run for Anthos: supported Volume represents a named volume in a container.
func (*Volume) Descriptor
deprecated
added in
v0.2.0
func (*Volume) GetConfigMap ¶ added in v0.2.0
func (x *Volume) GetConfigMap() *ConfigMapVolumeSource
func (*Volume) GetSecret ¶ added in v0.2.0
func (x *Volume) GetSecret() *SecretVolumeSource
func (*Volume) ProtoMessage ¶ added in v0.2.0
func (*Volume) ProtoMessage()
func (*Volume) ProtoReflect ¶ added in v0.2.0
func (x *Volume) ProtoReflect() protoreflect.Message
type VolumeMount ¶ added in v0.2.0
type VolumeMount struct { // Cloud Run fully managed: supported // Cloud Run for Anthos: supported // This must match the Name of a Volume. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Cloud Run fully managed: supported // Cloud Run for Anthos: supported // Only true is accepted. Defaults to true. ReadOnly bool `protobuf:"varint,2,opt,name=read_only,json=readOnly,proto3" json:"read_only,omitempty"` // Cloud Run fully managed: supported // Cloud Run for Anthos: supported // Path within the container at which the volume should be mounted. Must not contain ':'. MountPath string `protobuf:"bytes,3,opt,name=mount_path,json=mountPath,proto3" json:"mount_path,omitempty"` // Cloud Run fully managed: not supported // Cloud Run for Anthos: supported // Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root). SubPath string `protobuf:"bytes,4,opt,name=sub_path,json=subPath,proto3" json:"sub_path,omitempty"` // contains filtered or unexported fields }
Cloud Run fully managed: not supported Cloud Run for Anthos: supported VolumeMount describes a mounting of a Volume within a container.
func (*VolumeMount) Descriptor
deprecated
added in
v0.2.0
func (*VolumeMount) Descriptor() ([]byte, []int)
Deprecated: Use VolumeMount.ProtoReflect.Descriptor instead.
func (*VolumeMount) GetMountPath ¶ added in v0.2.0
func (x *VolumeMount) GetMountPath() string
func (*VolumeMount) GetName ¶ added in v0.2.0
func (x *VolumeMount) GetName() string
func (*VolumeMount) GetReadOnly ¶ added in v0.2.0
func (x *VolumeMount) GetReadOnly() bool
func (*VolumeMount) GetSubPath ¶ added in v0.2.0
func (x *VolumeMount) GetSubPath() string
func (*VolumeMount) ProtoMessage ¶ added in v0.2.0
func (*VolumeMount) ProtoMessage()
func (*VolumeMount) ProtoReflect ¶ added in v0.2.0
func (x *VolumeMount) ProtoReflect() protoreflect.Message
func (*VolumeMount) Reset ¶ added in v0.2.0
func (x *VolumeMount) Reset()
func (*VolumeMount) String ¶ added in v0.2.0
func (x *VolumeMount) String() string