v1

package
v0.89.0 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2024 License: Apache-2.0 Imports: 22 Imported by: 2

Documentation

Overview

Package v1 contains the API of network services.

Package v1 is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	// PrivateDNSStatusPendingVerification is the status of a private DNS record that is pending ownership verification
	PrivateDNSStatusPendingVerification = "pending_verification"
	// PrivateDNSStatusVerified is the status of a private DNS record that has been verified
	PrivateDNSStatusVerified = "verified"
	// PrivateDNSStatusFailedVerification is the status of a private DNS record that has failed verification
	PrivateDNSStatusFailedVerification = "failed_verification"
)
View Source
const (

	// EventTypePrivateEndpointServiceCreated is the type of event fired after a private endpoint service has been created
	// SubjectID contains the ID of the private endpoint service.
	EventTypePrivateEndpointServiceCreated = "network.privateendpointservice.created"
	// EventTypePrivateEndpointServiceUpdated is the type of event fired after a private endpoint service has been updated
	// SubjectID contains the ID of the private endpoint service.
	// Note that this type of event is also fired when the status of the private endpoint service has changed.
	EventTypePrivateEndpointServiceUpdated = "network.privateendpointservice.updated"
	// EventTypePrivateEndpointServiceDeleted is the type of event fired after a private endpoint service has been (marked for) deleted
	// SubjectID contains the ID of the private endpoint service.
	EventTypePrivateEndpointServiceDeleted = "network.privateendpointservice.deleted"
)
View Source
const (

	// PermissionPrivateEndpointServiceGetFeature is needed for getting whether or not the private endpoint service feature is enabled and available for a specific deployment.
	PermissionPrivateEndpointServiceGetFeature = "network.privateendpointservice.get-feature"
	// PermissionPrivateEndpointServiceGet is needed for getting an individual private endpoint service
	PermissionPrivateEndpointServiceGet = "network.privateendpointservice.get"
	// PermissionPrivateEndpointServiceGetByDeploymentID is getting an individual private endpoint service by deployment ID
	PermissionPrivateEndpointServiceGetByDeploymentID = "network.privateendpointservice.get-by-deployment-id"
	// PermissionPrivateEndpointServiceCreate is needed for creating a private endpoint service
	PermissionPrivateEndpointServiceCreate = "network.privateendpointservice.create"
	// PermissionPrivateEndpointServiceUpdate is needed to update the private endpoint service
	PermissionPrivateEndpointServiceUpdate = "network.privateendpointservice.update"
)
View Source
const (
	// APIID contains identifier of this API
	APIID = "network/v1"
	// APIMajorVersion contains major version of this API
	APIMajorVersion = 1
	// APIMinorVersion contains minor version of this API
	APIMinorVersion = 3
	// APIPatchVersion contains patch version of this API
	APIPatchVersion = 0
)
View Source
const (
	// KindPrivateEndpointService is a constants for the kind of PrivateEndpointService resources.
	KindPrivateEndpointService = "PrivateEndpointService"
)

Variables

View Source
var File_network_proto protoreflect.FileDescriptor

Functions

func PrivateEndpointServiceURL

func PrivateEndpointServiceURL(organizationID, projectID, deploymentID, privateEndpointServiceID string) string

PrivateEndpointServiceURL creates a resource URL for the PrivateEndpointService with given ID in given context (as individual IDs).

func PrivateEndpointServiceURL2

func PrivateEndpointServiceURL2(deploymentURL, privateEndpointServiceID string) string

PrivateEndpointServiceURL2 creates a resource URL for the PrivateEndpointService with given ID in given context (as base URL).

func RegisterNetworkServiceHandler

func RegisterNetworkServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterNetworkServiceHandler registers the http handlers for service NetworkService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterNetworkServiceHandlerClient

func RegisterNetworkServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client NetworkServiceClient) error

RegisterNetworkServiceHandlerClient registers the http handlers for service NetworkService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "NetworkServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "NetworkServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "NetworkServiceClient" to call the correct interceptors.

func RegisterNetworkServiceHandlerFromEndpoint

func RegisterNetworkServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterNetworkServiceHandlerFromEndpoint is same as RegisterNetworkServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterNetworkServiceHandlerServer

func RegisterNetworkServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server NetworkServiceServer) error

RegisterNetworkServiceHandlerServer registers the http handlers for service NetworkService to "mux". UnaryRPC :call NetworkServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterNetworkServiceHandlerFromEndpoint instead.

func RegisterNetworkServiceServer

func RegisterNetworkServiceServer(s *grpc.Server, srv NetworkServiceServer)

Types

type IsPrivateEndpointServiceFeatureAvailableRequest added in v0.71.0

type IsPrivateEndpointServiceFeatureAvailableRequest struct {

	// Identifier of the deployment (optional)
	DeploymentId string `protobuf:"bytes,1,opt,name=deployment_id,json=deploymentId,proto3" json:"deployment_id,omitempty"`
	// Identifier of the organization (optional)
	// This field is ignored if a deployment_id is specified
	OrganizationId string `protobuf:"bytes,2,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	// Identifier of the region (optional)
	// This field is ignored if a deployment_id is specified
	RegionId string `protobuf:"bytes,3,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"`
	// contains filtered or unexported fields
}

IsPrivateEndpointServiceFeatureAvailableRequest specifies the request parameters for the IsPrivateEndpointServiceFeatureAvailable method. At least 1 of the fields should contain a value.

func (*IsPrivateEndpointServiceFeatureAvailableRequest) Descriptor deprecated added in v0.71.0

Deprecated: Use IsPrivateEndpointServiceFeatureAvailableRequest.ProtoReflect.Descriptor instead.

func (*IsPrivateEndpointServiceFeatureAvailableRequest) GetDeploymentId added in v0.71.0

func (*IsPrivateEndpointServiceFeatureAvailableRequest) GetOrganizationId added in v0.71.0

func (*IsPrivateEndpointServiceFeatureAvailableRequest) GetRegionId added in v0.71.0

func (*IsPrivateEndpointServiceFeatureAvailableRequest) ProtoMessage added in v0.71.0

func (*IsPrivateEndpointServiceFeatureAvailableRequest) ProtoReflect added in v0.89.0

func (*IsPrivateEndpointServiceFeatureAvailableRequest) Reset added in v0.71.0

func (*IsPrivateEndpointServiceFeatureAvailableRequest) String added in v0.71.0

type IsPrivateEndpointServiceFeatureAvailableResult added in v0.71.0

type IsPrivateEndpointServiceFeatureAvailableResult struct {

	// Set if the feature is enabled and available.
	Available bool `protobuf:"varint,1,opt,name=available,proto3" json:"available,omitempty"`
	// Message why the feature is not available.
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

IsPrivateEndpointServiceFeatureAvailableResult specifies if the private endpoint service is enabled and available. If it is not available it contains a message why not.

func (*IsPrivateEndpointServiceFeatureAvailableResult) Descriptor deprecated added in v0.71.0

Deprecated: Use IsPrivateEndpointServiceFeatureAvailableResult.ProtoReflect.Descriptor instead.

func (*IsPrivateEndpointServiceFeatureAvailableResult) GetAvailable added in v0.71.0

func (*IsPrivateEndpointServiceFeatureAvailableResult) GetMessage added in v0.71.0

func (*IsPrivateEndpointServiceFeatureAvailableResult) ProtoMessage added in v0.71.0

func (*IsPrivateEndpointServiceFeatureAvailableResult) ProtoReflect added in v0.89.0

func (*IsPrivateEndpointServiceFeatureAvailableResult) Reset added in v0.71.0

func (*IsPrivateEndpointServiceFeatureAvailableResult) String added in v0.71.0

type NetworkServiceClient

type NetworkServiceClient interface {
	// Get the current API version of this service.
	// Required permissions:
	// - None
	GetAPIVersion(ctx context.Context, in *v1.Empty, opts ...grpc.CallOption) (*v1.Version, error)
	// Checks if the private endpoint service feature is enabled and available.
	// Required permissions:
	// - network.privateendpointservice.get-feature on the deployment that is identified by the given deployment ID (if specified).
	// - network.privateendpointservice.get-feature on the organization that is identified by the given organization ID (if specified).
	// - None, authenticated only (if only the region ID is specified).
	IsPrivateEndpointServiceFeatureAvailable(ctx context.Context, in *IsPrivateEndpointServiceFeatureAvailableRequest, opts ...grpc.CallOption) (*IsPrivateEndpointServiceFeatureAvailableResult, error)
	// Fetch a private endpoint service by its ID.
	// Required permissions:
	// - network.privateendpointservice.get on the private endpoint service.
	GetPrivateEndpointService(ctx context.Context, in *v1.IDOptions, opts ...grpc.CallOption) (*PrivateEndpointService, error)
	// Fetch a private endpoint service by the deployment ID.
	// Required permissions:
	// - network.privateendpointservice.get-by-deployment-id on the deployment that owns the private endpoint service.
	GetPrivateEndpointServiceByDeploymentID(ctx context.Context, in *v1.IDOptions, opts ...grpc.CallOption) (*PrivateEndpointService, error)
	// Create a new private endpoint service.
	// Required permissions:
	// - network.privateendpointservice.create on the deployment that owns the private endpoint service.
	CreatePrivateEndpointService(ctx context.Context, in *PrivateEndpointService, opts ...grpc.CallOption) (*PrivateEndpointService, error)
	// Update the private endpoint service.
	// Required permissions:
	// - network.privateendpointservice.update on the private endpoint service.
	UpdatePrivateEndpointService(ctx context.Context, in *PrivateEndpointService, opts ...grpc.CallOption) (*v1.Empty, error)
}

NetworkServiceClient is the client API for NetworkService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type NetworkServiceServer

type NetworkServiceServer interface {
	// Get the current API version of this service.
	// Required permissions:
	// - None
	GetAPIVersion(context.Context, *v1.Empty) (*v1.Version, error)
	// Checks if the private endpoint service feature is enabled and available.
	// Required permissions:
	// - network.privateendpointservice.get-feature on the deployment that is identified by the given deployment ID (if specified).
	// - network.privateendpointservice.get-feature on the organization that is identified by the given organization ID (if specified).
	// - None, authenticated only (if only the region ID is specified).
	IsPrivateEndpointServiceFeatureAvailable(context.Context, *IsPrivateEndpointServiceFeatureAvailableRequest) (*IsPrivateEndpointServiceFeatureAvailableResult, error)
	// Fetch a private endpoint service by its ID.
	// Required permissions:
	// - network.privateendpointservice.get on the private endpoint service.
	GetPrivateEndpointService(context.Context, *v1.IDOptions) (*PrivateEndpointService, error)
	// Fetch a private endpoint service by the deployment ID.
	// Required permissions:
	// - network.privateendpointservice.get-by-deployment-id on the deployment that owns the private endpoint service.
	GetPrivateEndpointServiceByDeploymentID(context.Context, *v1.IDOptions) (*PrivateEndpointService, error)
	// Create a new private endpoint service.
	// Required permissions:
	// - network.privateendpointservice.create on the deployment that owns the private endpoint service.
	CreatePrivateEndpointService(context.Context, *PrivateEndpointService) (*PrivateEndpointService, error)
	// Update the private endpoint service.
	// Required permissions:
	// - network.privateendpointservice.update on the private endpoint service.
	UpdatePrivateEndpointService(context.Context, *PrivateEndpointService) (*v1.Empty, error)
}

NetworkServiceServer is the server API for NetworkService service.

type PrivateEndpointService

type PrivateEndpointService struct {

	// System identifier of the private endpoint service.
	// This is a read-only value.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// URL of this resource.
	// This is a read-only value.
	Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
	// Name of the private endpoint service.
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// Description of the private endpoint service.
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	// The creation timestamp of the private endpoint service
	// This is a read-only value.
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// The deletion timestamp of the private endpoint service
	// This is a read-only value.
	DeletedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"`
	// Set when this private endpoint service is deleted.
	// This is a read-only value.
	IsDeleted bool `protobuf:"varint,7,opt,name=is_deleted,json=isDeleted,proto3" json:"is_deleted,omitempty"`
	// Identifier of the deployment
	// After creation, this value cannot be changed.
	DeploymentId string `protobuf:"bytes,10,opt,name=deployment_id,json=deploymentId,proto3" json:"deployment_id,omitempty"`
	// Zero or more DNS names to include in the Self Signed TLS certificate of the deployment.
	// This name should be resolvable in the private network (vNET/VPC) and can be used to connect
	// to the private endpoint to establish a SSL connection (where the name will be used during the handshake).
	AlternateDnsNames []string `protobuf:"bytes,11,rep,name=alternate_dns_names,json=alternateDnsNames,proto3" json:"alternate_dns_names,omitempty"`
	// If set, private DNS zone integration is enabled for this private endpoint service.
	// For GCP this bool is immutable, so can only be set during the creation.
	EnablePrivateDns bool `protobuf:"varint,12,opt,name=enable_private_dns,json=enablePrivateDns,proto3" json:"enable_private_dns,omitempty"`
	// Specific AKS setting.
	Aks *PrivateEndpointService_Aks `protobuf:"bytes,20,opt,name=aks,proto3" json:"aks,omitempty"`
	// Specific AWS setting.
	Aws *PrivateEndpointService_Aws `protobuf:"bytes,30,opt,name=aws,proto3" json:"aws,omitempty"`
	// Specific GCP setting.
	Gcp *PrivateEndpointService_Gcp `protobuf:"bytes,40,opt,name=gcp,proto3" json:"gcp,omitempty"`
	// Status of the private endpoint service.
	// All fields are read-only.
	Status *PrivateEndpointService_Status `protobuf:"bytes,100,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

PrivateEndpointService represents the service part of the private endpoint

func (*PrivateEndpointService) Descriptor deprecated

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

Deprecated: Use PrivateEndpointService.ProtoReflect.Descriptor instead.

func (*PrivateEndpointService) GetAks

func (*PrivateEndpointService) GetAlternateDnsNames

func (x *PrivateEndpointService) GetAlternateDnsNames() []string

func (*PrivateEndpointService) GetAws added in v0.74.2

func (*PrivateEndpointService) GetCreatedAt

func (x *PrivateEndpointService) GetCreatedAt() *timestamppb.Timestamp

func (*PrivateEndpointService) GetDeletedAt

func (x *PrivateEndpointService) GetDeletedAt() *timestamppb.Timestamp

func (*PrivateEndpointService) GetDeploymentId

func (x *PrivateEndpointService) GetDeploymentId() string

func (*PrivateEndpointService) GetDescription

func (x *PrivateEndpointService) GetDescription() string

func (*PrivateEndpointService) GetEnablePrivateDns added in v0.82.3

func (x *PrivateEndpointService) GetEnablePrivateDns() bool

func (*PrivateEndpointService) GetGcp added in v0.74.13

func (*PrivateEndpointService) GetId

func (x *PrivateEndpointService) GetId() string

func (*PrivateEndpointService) GetIsDeleted

func (x *PrivateEndpointService) GetIsDeleted() bool

func (*PrivateEndpointService) GetName

func (x *PrivateEndpointService) GetName() string

func (*PrivateEndpointService) GetStatus

func (*PrivateEndpointService) GetUrl

func (x *PrivateEndpointService) GetUrl() string

func (*PrivateEndpointService) ProtoMessage

func (*PrivateEndpointService) ProtoMessage()

func (*PrivateEndpointService) ProtoReflect added in v0.89.0

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

func (*PrivateEndpointService) Reset

func (x *PrivateEndpointService) Reset()

func (*PrivateEndpointService) String

func (x *PrivateEndpointService) String() string

type PrivateEndpointService_Aks

type PrivateEndpointService_Aks struct {

	// The subscription IDs of the client side, needed to auto-approve private endpoint connections.
	// After a private endpoint connection has been made this field cannot be modified anymore.
	ClientSubscriptionIds []string `` /* 126-byte string literal not displayed */
	// contains filtered or unexported fields
}

Specific AKS setting.

func (*PrivateEndpointService_Aks) Descriptor deprecated

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

Deprecated: Use PrivateEndpointService_Aks.ProtoReflect.Descriptor instead.

func (*PrivateEndpointService_Aks) GetClientSubscriptionIds

func (x *PrivateEndpointService_Aks) GetClientSubscriptionIds() []string

func (*PrivateEndpointService_Aks) ProtoMessage

func (*PrivateEndpointService_Aks) ProtoMessage()

func (*PrivateEndpointService_Aks) ProtoReflect added in v0.89.0

func (*PrivateEndpointService_Aks) Reset

func (x *PrivateEndpointService_Aks) Reset()

func (*PrivateEndpointService_Aks) String

func (x *PrivateEndpointService_Aks) String() string

type PrivateEndpointService_AksPrivateEndpointConnectionStatus

type PrivateEndpointService_AksPrivateEndpointConnectionStatus struct {

	// The name of the private endpoint connection
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The description of the private endpoint connection
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// The state of the private endpoint connection
	State string `protobuf:"bytes,3,opt,name=state,proto3" json:"state,omitempty"`
	// The private endpoint identifier
	Id string `protobuf:"bytes,4,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

Specific AKS private endpoint connection status fields.

func (*PrivateEndpointService_AksPrivateEndpointConnectionStatus) Descriptor deprecated

Deprecated: Use PrivateEndpointService_AksPrivateEndpointConnectionStatus.ProtoReflect.Descriptor instead.

func (*PrivateEndpointService_AksPrivateEndpointConnectionStatus) GetDescription

func (*PrivateEndpointService_AksPrivateEndpointConnectionStatus) GetId

func (*PrivateEndpointService_AksPrivateEndpointConnectionStatus) GetName

func (*PrivateEndpointService_AksPrivateEndpointConnectionStatus) GetState

func (*PrivateEndpointService_AksPrivateEndpointConnectionStatus) ProtoMessage

func (*PrivateEndpointService_AksPrivateEndpointConnectionStatus) ProtoReflect added in v0.89.0

func (*PrivateEndpointService_AksPrivateEndpointConnectionStatus) Reset

func (*PrivateEndpointService_AksPrivateEndpointConnectionStatus) String

type PrivateEndpointService_AksStatus

type PrivateEndpointService_AksStatus struct {

	// The alias generated by the Azure private link service needed by the client to setup the private endpoint.
	Alias string `protobuf:"bytes,1,opt,name=alias,proto3" json:"alias,omitempty"`
	// The status of the private endpoint connections.
	PrivateEndpointConnections []*PrivateEndpointService_AksPrivateEndpointConnectionStatus `` /* 141-byte string literal not displayed */
	// contains filtered or unexported fields
}

Specific AKS status fields. All fields are read-only.

func (*PrivateEndpointService_AksStatus) Descriptor deprecated

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

Deprecated: Use PrivateEndpointService_AksStatus.ProtoReflect.Descriptor instead.

func (*PrivateEndpointService_AksStatus) GetAlias

func (*PrivateEndpointService_AksStatus) GetPrivateEndpointConnections

func (*PrivateEndpointService_AksStatus) ProtoMessage

func (*PrivateEndpointService_AksStatus) ProtoMessage()

func (*PrivateEndpointService_AksStatus) ProtoReflect added in v0.89.0

func (*PrivateEndpointService_AksStatus) Reset

func (*PrivateEndpointService_AksStatus) String

type PrivateEndpointService_Aws added in v0.74.2

type PrivateEndpointService_Aws struct {

	// The AWS principals of the client side, needed to auto-approve private endpoint connections.
	// After a private endpoint connection has been made this field cannot be modified anymore.
	AwsPrincipals []*PrivateEndpointService_AwsPrincipals `protobuf:"bytes,1,rep,name=aws_principals,json=awsPrincipals,proto3" json:"aws_principals,omitempty"`
	// contains filtered or unexported fields
}

Specific AWS setting.

func (*PrivateEndpointService_Aws) Descriptor deprecated added in v0.74.2

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

Deprecated: Use PrivateEndpointService_Aws.ProtoReflect.Descriptor instead.

func (*PrivateEndpointService_Aws) GetAwsPrincipals added in v0.74.2

func (*PrivateEndpointService_Aws) ProtoMessage added in v0.74.2

func (*PrivateEndpointService_Aws) ProtoMessage()

func (*PrivateEndpointService_Aws) ProtoReflect added in v0.89.0

func (*PrivateEndpointService_Aws) Reset added in v0.74.2

func (x *PrivateEndpointService_Aws) Reset()

func (*PrivateEndpointService_Aws) String added in v0.74.2

func (x *PrivateEndpointService_Aws) String() string

type PrivateEndpointService_AwsPrincipals added in v0.74.2

type PrivateEndpointService_AwsPrincipals struct {

	// 12 digit AWS Account Identifier.
	// When both user_names and role_names are not provided all principals can be used to setup the private endpoint (account principal).
	AccountId string `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
	// Optional user names (when at least one user name is provided the specified IAM user(s)) are able to setup the private endpoint.
	// It is allowed to specify both users and roles
	UserNames []string `protobuf:"bytes,2,rep,name=user_names,json=userNames,proto3" json:"user_names,omitempty"`
	// Optional role names (when at least one role name is provided the specified IAM role(s)) are able to setup the private endpoint.
	// It is allowed to specify both users and roles
	RoleNames []string `protobuf:"bytes,3,rep,name=role_names,json=roleNames,proto3" json:"role_names,omitempty"`
	// contains filtered or unexported fields
}

Specific AWS principal setting.

func (*PrivateEndpointService_AwsPrincipals) Descriptor deprecated added in v0.74.2

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

Deprecated: Use PrivateEndpointService_AwsPrincipals.ProtoReflect.Descriptor instead.

func (*PrivateEndpointService_AwsPrincipals) GetAccountId added in v0.74.2

func (x *PrivateEndpointService_AwsPrincipals) GetAccountId() string

func (*PrivateEndpointService_AwsPrincipals) GetRoleNames added in v0.74.2

func (x *PrivateEndpointService_AwsPrincipals) GetRoleNames() []string

func (*PrivateEndpointService_AwsPrincipals) GetUserNames added in v0.74.2

func (x *PrivateEndpointService_AwsPrincipals) GetUserNames() []string

func (*PrivateEndpointService_AwsPrincipals) ProtoMessage added in v0.74.2

func (*PrivateEndpointService_AwsPrincipals) ProtoMessage()

func (*PrivateEndpointService_AwsPrincipals) ProtoReflect added in v0.89.0

func (*PrivateEndpointService_AwsPrincipals) Reset added in v0.74.2

func (*PrivateEndpointService_AwsPrincipals) String added in v0.74.2

type PrivateEndpointService_AwsPrivateEndpointConnectionStatus added in v0.74.2

type PrivateEndpointService_AwsPrivateEndpointConnectionStatus struct {

	// The owner of the private endpoint connection
	Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
	// The creation date the private endpoint connection
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// The state of the private endpoint connection
	State string `protobuf:"bytes,3,opt,name=state,proto3" json:"state,omitempty"`
	// The private endpoint identifier
	Id string `protobuf:"bytes,4,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

Specific AWS private endpoint connection status fields.

func (*PrivateEndpointService_AwsPrivateEndpointConnectionStatus) Descriptor deprecated added in v0.74.2

Deprecated: Use PrivateEndpointService_AwsPrivateEndpointConnectionStatus.ProtoReflect.Descriptor instead.

func (*PrivateEndpointService_AwsPrivateEndpointConnectionStatus) GetCreatedAt added in v0.74.2

func (*PrivateEndpointService_AwsPrivateEndpointConnectionStatus) GetId added in v0.74.2

func (*PrivateEndpointService_AwsPrivateEndpointConnectionStatus) GetOwner added in v0.74.2

func (*PrivateEndpointService_AwsPrivateEndpointConnectionStatus) GetState added in v0.74.2

func (*PrivateEndpointService_AwsPrivateEndpointConnectionStatus) ProtoMessage added in v0.74.2

func (*PrivateEndpointService_AwsPrivateEndpointConnectionStatus) ProtoReflect added in v0.89.0

func (*PrivateEndpointService_AwsPrivateEndpointConnectionStatus) Reset added in v0.74.2

func (*PrivateEndpointService_AwsPrivateEndpointConnectionStatus) String added in v0.74.2

type PrivateEndpointService_AwsStatus added in v0.74.2

type PrivateEndpointService_AwsStatus struct {

	// The service name generated by the AWS VPC endpoint service needed by the client to setup the VPC endpoint.
	ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"`
	// The availability zones information needed to setup the VPC endpoint.
	AvailabilityZones []string `protobuf:"bytes,2,rep,name=availability_zones,json=availabilityZones,proto3" json:"availability_zones,omitempty"`
	// The status of the private endpoint connections.
	PrivateEndpointConnections []*PrivateEndpointService_AwsPrivateEndpointConnectionStatus `` /* 141-byte string literal not displayed */
	// contains filtered or unexported fields
}

Specific AWS status fields. All fields are read-only.

func (*PrivateEndpointService_AwsStatus) Descriptor deprecated added in v0.74.2

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

Deprecated: Use PrivateEndpointService_AwsStatus.ProtoReflect.Descriptor instead.

func (*PrivateEndpointService_AwsStatus) GetAvailabilityZones added in v0.74.2

func (x *PrivateEndpointService_AwsStatus) GetAvailabilityZones() []string

func (*PrivateEndpointService_AwsStatus) GetPrivateEndpointConnections added in v0.74.2

func (*PrivateEndpointService_AwsStatus) GetServiceName added in v0.74.2

func (x *PrivateEndpointService_AwsStatus) GetServiceName() string

func (*PrivateEndpointService_AwsStatus) ProtoMessage added in v0.74.2

func (*PrivateEndpointService_AwsStatus) ProtoMessage()

func (*PrivateEndpointService_AwsStatus) ProtoReflect added in v0.89.0

func (*PrivateEndpointService_AwsStatus) Reset added in v0.74.2

func (*PrivateEndpointService_AwsStatus) String added in v0.74.2

type PrivateEndpointService_Gcp added in v0.74.13

type PrivateEndpointService_Gcp struct {

	// The projects of the client side, needed to auto-approve private endpoint connections.
	// After a private endpoint connection has been made this field cannot be modified anymore.
	Projects []string `protobuf:"bytes,1,rep,name=projects,proto3" json:"projects,omitempty"`
	// contains filtered or unexported fields
}

Specific GCP setting.

func (*PrivateEndpointService_Gcp) Descriptor deprecated added in v0.74.13

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

Deprecated: Use PrivateEndpointService_Gcp.ProtoReflect.Descriptor instead.

func (*PrivateEndpointService_Gcp) GetProjects added in v0.74.13

func (x *PrivateEndpointService_Gcp) GetProjects() []string

func (*PrivateEndpointService_Gcp) ProtoMessage added in v0.74.13

func (*PrivateEndpointService_Gcp) ProtoMessage()

func (*PrivateEndpointService_Gcp) ProtoReflect added in v0.89.0

func (*PrivateEndpointService_Gcp) Reset added in v0.74.13

func (x *PrivateEndpointService_Gcp) Reset()

func (*PrivateEndpointService_Gcp) String added in v0.74.13

func (x *PrivateEndpointService_Gcp) String() string

type PrivateEndpointService_GcpPrivateEndpointConnectionStatus added in v0.74.13

type PrivateEndpointService_GcpPrivateEndpointConnectionStatus struct {

	// The name of the private endpoint connection
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The state of the private endpoint connection
	State string `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"`
	// The private endpoint identifier
	Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

Specific GCP private endpoint connection status fields.

func (*PrivateEndpointService_GcpPrivateEndpointConnectionStatus) Descriptor deprecated added in v0.74.13

Deprecated: Use PrivateEndpointService_GcpPrivateEndpointConnectionStatus.ProtoReflect.Descriptor instead.

func (*PrivateEndpointService_GcpPrivateEndpointConnectionStatus) GetId added in v0.74.13

func (*PrivateEndpointService_GcpPrivateEndpointConnectionStatus) GetName added in v0.74.13

func (*PrivateEndpointService_GcpPrivateEndpointConnectionStatus) GetState added in v0.74.13

func (*PrivateEndpointService_GcpPrivateEndpointConnectionStatus) ProtoMessage added in v0.74.13

func (*PrivateEndpointService_GcpPrivateEndpointConnectionStatus) ProtoReflect added in v0.89.0

func (*PrivateEndpointService_GcpPrivateEndpointConnectionStatus) Reset added in v0.74.13

func (*PrivateEndpointService_GcpPrivateEndpointConnectionStatus) String added in v0.74.13

type PrivateEndpointService_GcpStatus added in v0.74.13

type PrivateEndpointService_GcpStatus struct {

	// The service attachment generated by the Google private service connect needed by the client to setup the private endpoint.
	ServiceAttachment string `protobuf:"bytes,1,opt,name=service_attachment,json=serviceAttachment,proto3" json:"service_attachment,omitempty"`
	// The status of the private endpoint connections.
	PrivateEndpointConnections []*PrivateEndpointService_GcpPrivateEndpointConnectionStatus `` /* 141-byte string literal not displayed */
	// contains filtered or unexported fields
}

Specific GCP status fields. All fields are read-only.

func (*PrivateEndpointService_GcpStatus) Descriptor deprecated added in v0.74.13

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

Deprecated: Use PrivateEndpointService_GcpStatus.ProtoReflect.Descriptor instead.

func (*PrivateEndpointService_GcpStatus) GetPrivateEndpointConnections added in v0.74.13

func (*PrivateEndpointService_GcpStatus) GetServiceAttachment added in v0.74.13

func (x *PrivateEndpointService_GcpStatus) GetServiceAttachment() string

func (*PrivateEndpointService_GcpStatus) ProtoMessage added in v0.74.13

func (*PrivateEndpointService_GcpStatus) ProtoMessage()

func (*PrivateEndpointService_GcpStatus) ProtoReflect added in v0.89.0

func (*PrivateEndpointService_GcpStatus) Reset added in v0.74.13

func (*PrivateEndpointService_GcpStatus) String added in v0.74.13

type PrivateEndpointService_Status

type PrivateEndpointService_Status struct {

	// Set when the private endpoint service is ready.
	Ready bool `protobuf:"varint,1,opt,name=ready,proto3" json:"ready,omitempty"`
	// The timestamp the ready flag has been set.
	ReadyAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=ready_at,json=readyAt,proto3" json:"ready_at,omitempty"`
	// Set if this private endpoint service needs attention.
	NeedsAttention bool `protobuf:"varint,10,opt,name=needs_attention,json=needsAttention,proto3" json:"needs_attention,omitempty"`
	// Free text message describing the status.
	Message string `protobuf:"bytes,11,opt,name=message,proto3" json:"message,omitempty"`
	// The private DNS status of the private endpoint service.
	PrivateDnsStatus string `protobuf:"bytes,12,opt,name=private_dns_status,json=privateDnsStatus,proto3" json:"private_dns_status,omitempty"`
	// The timestamp the private DNS status has been set.
	PrivateDnsReadyAt *timestamppb.Timestamp `protobuf:"bytes,13,opt,name=private_dns_ready_at,json=privateDnsReadyAt,proto3" json:"private_dns_ready_at,omitempty"`
	// Specific AKS status fields.
	// All fields are read-only.
	Aks *PrivateEndpointService_AksStatus `protobuf:"bytes,20,opt,name=aks,proto3" json:"aks,omitempty"`
	// Specific AWS status fields.
	// All fields are read-only.
	Aws *PrivateEndpointService_AwsStatus `protobuf:"bytes,30,opt,name=aws,proto3" json:"aws,omitempty"`
	// Specific GCP status fields.
	// All fields are read-only.
	Gcp *PrivateEndpointService_GcpStatus `protobuf:"bytes,40,opt,name=gcp,proto3" json:"gcp,omitempty"`
	// contains filtered or unexported fields
}

Status of the private endpoint service. All fields are read-only.

func (*PrivateEndpointService_Status) Descriptor deprecated

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

Deprecated: Use PrivateEndpointService_Status.ProtoReflect.Descriptor instead.

func (*PrivateEndpointService_Status) GetAks

func (*PrivateEndpointService_Status) GetAws added in v0.74.2

func (*PrivateEndpointService_Status) GetGcp added in v0.74.13

func (*PrivateEndpointService_Status) GetMessage

func (x *PrivateEndpointService_Status) GetMessage() string

func (*PrivateEndpointService_Status) GetNeedsAttention

func (x *PrivateEndpointService_Status) GetNeedsAttention() bool

func (*PrivateEndpointService_Status) GetPrivateDnsReadyAt added in v0.82.3

func (x *PrivateEndpointService_Status) GetPrivateDnsReadyAt() *timestamppb.Timestamp

func (*PrivateEndpointService_Status) GetPrivateDnsStatus added in v0.82.3

func (x *PrivateEndpointService_Status) GetPrivateDnsStatus() string

func (*PrivateEndpointService_Status) GetReady

func (x *PrivateEndpointService_Status) GetReady() bool

func (*PrivateEndpointService_Status) GetReadyAt

func (*PrivateEndpointService_Status) ProtoMessage

func (*PrivateEndpointService_Status) ProtoMessage()

func (*PrivateEndpointService_Status) ProtoReflect added in v0.89.0

func (*PrivateEndpointService_Status) Reset

func (x *PrivateEndpointService_Status) Reset()

func (*PrivateEndpointService_Status) String

type UnimplementedNetworkServiceServer

type UnimplementedNetworkServiceServer struct {
}

UnimplementedNetworkServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedNetworkServiceServer) CreatePrivateEndpointService

func (*UnimplementedNetworkServiceServer) GetAPIVersion

func (*UnimplementedNetworkServiceServer) GetPrivateEndpointService

func (*UnimplementedNetworkServiceServer) GetPrivateEndpointServiceByDeploymentID

func (*UnimplementedNetworkServiceServer) GetPrivateEndpointServiceByDeploymentID(context.Context, *v1.IDOptions) (*PrivateEndpointService, error)

func (*UnimplementedNetworkServiceServer) UpdatePrivateEndpointService

Jump to

Keyboard shortcuts

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