run

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 12, 2021 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
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.

View Source
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.

View Source
var File_google_cloud_run_v1_authorized_domains_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_run_v1_common_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_run_v1_configurations_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_run_v1_domain_mappings_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_run_v1_revisions_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_run_v1_routes_proto protoreflect.FileDescriptor
View Source
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.

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) Descriptor() ([]byte, []int)

Deprecated: Use Condition.ProtoReflect.Descriptor instead.

func (*Condition) GetLastTransitionTime

func (x *Condition) GetLastTransitionTime() *timestamppb.Timestamp

func (*Condition) GetMessage

func (x *Condition) GetMessage() string

func (*Condition) GetReason

func (x *Condition) GetReason() string

func (*Condition) GetSeverity

func (x *Condition) GetSeverity() string

func (*Condition) GetStatus

func (x *Condition) GetStatus() string

func (*Condition) GetType

func (x *Condition) GetType() string

func (*Condition) ProtoMessage

func (*Condition) ProtoMessage()

func (*Condition) ProtoReflect

func (x *Condition) ProtoReflect() protoreflect.Message

func (*Condition) Reset

func (x *Condition) Reset()

func (*Condition) String

func (x *Condition) 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 *v1.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() *v1.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.

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 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 (*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 (*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 *v1.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() *v1.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) Enum

func (DomainMappingSpec_CertificateMode) EnumDescriptor deprecated

func (DomainMappingSpec_CertificateMode) EnumDescriptor() ([]byte, []int)

Deprecated: Use DomainMappingSpec_CertificateMode.Descriptor instead.

func (DomainMappingSpec_CertificateMode) Number

func (DomainMappingSpec_CertificateMode) String

func (DomainMappingSpec_CertificateMode) Type

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) (*v1.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.

type DomainMappingsServer

type DomainMappingsServer interface {
	// Create a new domain mapping.
	CreateDomainMapping(context.Context, *CreateDomainMappingRequest) (*DomainMapping, error)
	// Delete a domain mapping.
	DeleteDomainMapping(context.Context, *DeleteDomainMappingRequest) (*v1.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 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 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 (*ListAuthorizedDomainsRequest) Reset

func (x *ListAuthorizedDomainsRequest) Reset()

func (*ListAuthorizedDomainsRequest) 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 (*ListAuthorizedDomainsResponse) GetNextPageToken

func (x *ListAuthorizedDomainsResponse) GetNextPageToken() string

func (*ListAuthorizedDomainsResponse) ProtoMessage

func (*ListAuthorizedDomainsResponse) ProtoMessage()

func (*ListAuthorizedDomainsResponse) ProtoReflect

func (*ListAuthorizedDomainsResponse) Reset

func (x *ListAuthorizedDomainsResponse) Reset()

func (*ListAuthorizedDomainsResponse) 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 (*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 *v1.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() *v1.ListMeta

func (*ListConfigurationsResponse) GetUnreachable

func (x *ListConfigurationsResponse) GetUnreachable() []string

func (*ListConfigurationsResponse) ProtoMessage

func (*ListConfigurationsResponse) ProtoMessage()

func (*ListConfigurationsResponse) ProtoReflect

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 (*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 *v1.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() *v1.ObjectMeta

func (*ListDomainMappingsResponse) GetUnreachable

func (x *ListDomainMappingsResponse) GetUnreachable() []string

func (*ListDomainMappingsResponse) ProtoMessage

func (*ListDomainMappingsResponse) ProtoMessage()

func (*ListDomainMappingsResponse) ProtoReflect

func (*ListDomainMappingsResponse) Reset

func (x *ListDomainMappingsResponse) Reset()

func (*ListDomainMappingsResponse) String

func (x *ListDomainMappingsResponse) String() string

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 *v1.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() *v1.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 *v1.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() *v1.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 *v1.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() *v1.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 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) Enum

func (ResourceRecord_RecordType) EnumDescriptor deprecated

func (ResourceRecord_RecordType) EnumDescriptor() ([]byte, []int)

Deprecated: Use ResourceRecord_RecordType.Descriptor instead.

func (ResourceRecord_RecordType) Number

func (ResourceRecord_RecordType) String

func (x ResourceRecord_RecordType) String() string

func (ResourceRecord_RecordType) Type

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 *v1.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) Descriptor() ([]byte, []int)

Deprecated: Use Revision.ProtoReflect.Descriptor instead.

func (*Revision) GetApiVersion

func (x *Revision) GetApiVersion() string

func (*Revision) GetKind

func (x *Revision) GetKind() string

func (*Revision) GetMetadata

func (x *Revision) GetMetadata() *v1.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

func (*Revision) Reset

func (x *Revision) Reset()

func (*Revision) String

func (x *Revision) String() string

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 []*v1.Container `protobuf:"bytes,4,rep,name=containers,proto3" json:"containers,omitempty"`
	Volumes    []*v1.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() []*v1.Container

func (*RevisionSpec) GetServiceAccountName

func (x *RevisionSpec) GetServiceAccountName() string

func (*RevisionSpec) GetTimeoutSeconds

func (x *RevisionSpec) GetTimeoutSeconds() int32

func (*RevisionSpec) GetVolumes

func (x *RevisionSpec) GetVolumes() []*v1.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 *v11.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() *v11.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) (*v1.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) (*v1.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 *v1.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) Descriptor() ([]byte, []int)

Deprecated: Use Route.ProtoReflect.Descriptor instead.

func (*Route) GetApiVersion

func (x *Route) GetApiVersion() string

func (*Route) GetKind

func (x *Route) GetKind() string

func (*Route) GetMetadata

func (x *Route) GetMetadata() *v1.ObjectMeta

func (*Route) GetSpec

func (x *Route) GetSpec() *RouteSpec

func (*Route) GetStatus

func (x *Route) GetStatus() *RouteStatus

func (*Route) ProtoMessage

func (*Route) ProtoMessage()

func (*Route) ProtoReflect

func (x *Route) ProtoReflect() protoreflect.Message

func (*Route) Reset

func (x *Route) Reset()

func (*Route) String

func (x *Route) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use RouteSpec.ProtoReflect.Descriptor instead.

func (*RouteSpec) GetTarget

func (x *RouteSpec) GetTarget() []*TrafficTarget

func (*RouteSpec) ProtoMessage

func (*RouteSpec) ProtoMessage()

func (*RouteSpec) ProtoReflect

func (x *RouteSpec) ProtoReflect() protoreflect.Message

func (*RouteSpec) Reset

func (x *RouteSpec) Reset()

func (*RouteSpec) String

func (x *RouteSpec) String() string

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 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 *v1.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) Descriptor() ([]byte, []int)

Deprecated: Use Service.ProtoReflect.Descriptor instead.

func (*Service) GetApiVersion

func (x *Service) GetApiVersion() string

func (*Service) GetKind

func (x *Service) GetKind() string

func (*Service) GetMetadata

func (x *Service) GetMetadata() *v1.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

func (*Service) Reset

func (x *Service) Reset()

func (*Service) String

func (x *Service) String() string

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.
	Target []*TrafficTarget `protobuf:"bytes,2,rep,name=target,proto3" json:"target,omitempty"`
	// contains filtered or unexported fields
}

func (*ServiceSpec) Descriptor deprecated

func (*ServiceSpec) Descriptor() ([]byte, []int)

Deprecated: Use ServiceSpec.ProtoReflect.Descriptor instead.

func (*ServiceSpec) GetTarget

func (x *ServiceSpec) GetTarget() []*TrafficTarget

func (*ServiceSpec) GetTemplate

func (x *ServiceSpec) GetTemplate() *RevisionTemplate

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) (*v1.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 *v11.TestIamPermissionsRequest, opts ...grpc.CallOption) (*v11.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 *v11.GetIamPolicyRequest, opts ...grpc.CallOption) (*v11.Policy, error)
	// Sets the IAM Access control policy for the specified Service. Overwrites any existing policy.
	SetIamPolicy(ctx context.Context, in *v11.SetIamPolicyRequest, opts ...grpc.CallOption) (*v11.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) (*v1.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, *v11.TestIamPermissionsRequest) (*v11.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, *v11.GetIamPolicyRequest) (*v11.Policy, error)
	// Sets the IAM Access control policy for the specified Service. Overwrites any existing policy.
	SetIamPolicy(context.Context, *v11.SetIamPolicyRequest) (*v11.Policy, error)
}

ServicesServer is the server API for Services service.

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

type UnimplementedConfigurationsServer

type UnimplementedConfigurationsServer struct {
}

UnimplementedConfigurationsServer can be embedded to have forward compatible implementations.

func (*UnimplementedConfigurationsServer) GetConfiguration

func (*UnimplementedConfigurationsServer) ListConfigurations

type UnimplementedDomainMappingsServer

type UnimplementedDomainMappingsServer struct {
}

UnimplementedDomainMappingsServer can be embedded to have forward compatible implementations.

func (*UnimplementedDomainMappingsServer) CreateDomainMapping

func (*UnimplementedDomainMappingsServer) DeleteDomainMapping

func (*UnimplementedDomainMappingsServer) GetDomainMapping

func (*UnimplementedDomainMappingsServer) ListDomainMappings

type UnimplementedRevisionsServer

type UnimplementedRevisionsServer struct {
}

UnimplementedRevisionsServer can be embedded to have forward compatible implementations.

func (*UnimplementedRevisionsServer) DeleteRevision

func (*UnimplementedRevisionsServer) GetRevision

func (*UnimplementedRevisionsServer) ListRevisions

type UnimplementedRoutesServer

type UnimplementedRoutesServer struct {
}

UnimplementedRoutesServer can be embedded to have forward compatible implementations.

func (*UnimplementedRoutesServer) GetRoute

func (*UnimplementedRoutesServer) ListRoutes

type UnimplementedServicesServer

type UnimplementedServicesServer struct {
}

UnimplementedServicesServer can be embedded to have forward compatible implementations.

func (*UnimplementedServicesServer) CreateService

func (*UnimplementedServicesServer) DeleteService

func (*UnimplementedServicesServer) GetIamPolicy

func (*UnimplementedServicesServer) GetService

func (*UnimplementedServicesServer) ListServices

func (*UnimplementedServicesServer) ReplaceService

func (*UnimplementedServicesServer) SetIamPolicy

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL