v1

package
v0.4.620 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_github_com_metaprov_modelaapi_services_connection_v1_connection_proto protoreflect.FileDescriptor

Functions

func RegisterConnectionServiceServer

func RegisterConnectionServiceServer(s *grpc.Server, srv ConnectionServiceServer)

Types

type ConnectionServiceClient

type ConnectionServiceClient interface {
	ListConnections(ctx context.Context, in *ListConnectionsRequest, opts ...grpc.CallOption) (*ListConnectionsResponse, error)
	CreateConnection(ctx context.Context, in *CreateConnectionRequest, opts ...grpc.CallOption) (*CreateConnectionResponse, error)
	GetConnection(ctx context.Context, in *GetConnectionRequest, opts ...grpc.CallOption) (*GetConnectionResponse, error)
	UpdateConnection(ctx context.Context, in *UpdateConnectionRequest, opts ...grpc.CallOption) (*UpdateConnectionResponse, error)
	DeleteConnection(ctx context.Context, in *DeleteConnectionRequest, opts ...grpc.CallOption) (*DeleteConnectionResponse, error)
	TestConnection(ctx context.Context, in *TestConnectionRequest, opts ...grpc.CallOption) (*TestConnectionResponse, error)
}

ConnectionServiceClient is the client API for ConnectionService service.

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

type ConnectionServiceServer

ConnectionServiceServer is the server API for ConnectionService service.

type CreateConnectionRequest

type CreateConnectionRequest struct {
	Connection *v1alpha1.Connection `protobuf:"bytes,1,opt,name=connection,proto3" json:"connection,omitempty"`
	Secret     map[string]string    `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*CreateConnectionRequest) Descriptor deprecated

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

Deprecated: Use CreateConnectionRequest.ProtoReflect.Descriptor instead.

func (*CreateConnectionRequest) GetConnection added in v0.4.471

func (x *CreateConnectionRequest) GetConnection() *v1alpha1.Connection

func (*CreateConnectionRequest) GetSecret

func (x *CreateConnectionRequest) GetSecret() map[string]string

func (*CreateConnectionRequest) ProtoMessage

func (*CreateConnectionRequest) ProtoMessage()

func (*CreateConnectionRequest) ProtoReflect

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

func (*CreateConnectionRequest) Reset

func (x *CreateConnectionRequest) Reset()

func (*CreateConnectionRequest) String

func (x *CreateConnectionRequest) String() string

type CreateConnectionResponse

type CreateConnectionResponse struct {
	// contains filtered or unexported fields
}

func (*CreateConnectionResponse) Descriptor deprecated

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

Deprecated: Use CreateConnectionResponse.ProtoReflect.Descriptor instead.

func (*CreateConnectionResponse) ProtoMessage

func (*CreateConnectionResponse) ProtoMessage()

func (*CreateConnectionResponse) ProtoReflect

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

func (*CreateConnectionResponse) Reset

func (x *CreateConnectionResponse) Reset()

func (*CreateConnectionResponse) String

func (x *CreateConnectionResponse) String() string

type DeleteConnectionRequest

type DeleteConnectionRequest struct {
	Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Name      string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteConnectionRequest) Descriptor deprecated

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

Deprecated: Use DeleteConnectionRequest.ProtoReflect.Descriptor instead.

func (*DeleteConnectionRequest) GetName

func (x *DeleteConnectionRequest) GetName() string

func (*DeleteConnectionRequest) GetNamespace

func (x *DeleteConnectionRequest) GetNamespace() string

func (*DeleteConnectionRequest) ProtoMessage

func (*DeleteConnectionRequest) ProtoMessage()

func (*DeleteConnectionRequest) ProtoReflect

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

func (*DeleteConnectionRequest) Reset

func (x *DeleteConnectionRequest) Reset()

func (*DeleteConnectionRequest) String

func (x *DeleteConnectionRequest) String() string

type DeleteConnectionResponse

type DeleteConnectionResponse struct {
	// contains filtered or unexported fields
}

func (*DeleteConnectionResponse) Descriptor deprecated

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

Deprecated: Use DeleteConnectionResponse.ProtoReflect.Descriptor instead.

func (*DeleteConnectionResponse) ProtoMessage

func (*DeleteConnectionResponse) ProtoMessage()

func (*DeleteConnectionResponse) ProtoReflect

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

func (*DeleteConnectionResponse) Reset

func (x *DeleteConnectionResponse) Reset()

func (*DeleteConnectionResponse) String

func (x *DeleteConnectionResponse) String() string

type GetConnectionRequest

type GetConnectionRequest struct {
	Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Name      string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*GetConnectionRequest) Descriptor deprecated

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

Deprecated: Use GetConnectionRequest.ProtoReflect.Descriptor instead.

func (*GetConnectionRequest) GetName

func (x *GetConnectionRequest) GetName() string

func (*GetConnectionRequest) GetNamespace

func (x *GetConnectionRequest) GetNamespace() string

func (*GetConnectionRequest) ProtoMessage

func (*GetConnectionRequest) ProtoMessage()

func (*GetConnectionRequest) ProtoReflect

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

func (*GetConnectionRequest) Reset

func (x *GetConnectionRequest) Reset()

func (*GetConnectionRequest) String

func (x *GetConnectionRequest) String() string

type GetConnectionResponse

type GetConnectionResponse struct {
	Connection *v1alpha1.Connection `protobuf:"bytes,1,opt,name=connection,proto3" json:"connection,omitempty"`
	Yaml       string               `protobuf:"bytes,2,opt,name=yaml,proto3" json:"yaml,omitempty"`
	// contains filtered or unexported fields
}

func (*GetConnectionResponse) Descriptor deprecated

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

Deprecated: Use GetConnectionResponse.ProtoReflect.Descriptor instead.

func (*GetConnectionResponse) GetConnection added in v0.4.475

func (x *GetConnectionResponse) GetConnection() *v1alpha1.Connection

func (*GetConnectionResponse) GetYaml

func (x *GetConnectionResponse) GetYaml() string

func (*GetConnectionResponse) ProtoMessage

func (*GetConnectionResponse) ProtoMessage()

func (*GetConnectionResponse) ProtoReflect

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

func (*GetConnectionResponse) Reset

func (x *GetConnectionResponse) Reset()

func (*GetConnectionResponse) String

func (x *GetConnectionResponse) String() string

type ListConnectionsRequest

type ListConnectionsRequest struct {
	Namespace string            `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Labels    map[string]string `` /* 153-byte string literal not displayed */
	PageSize  int32             `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	PageToken string            `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	OrderBy   string            `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	// contains filtered or unexported fields
}

func (*ListConnectionsRequest) Descriptor deprecated

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

Deprecated: Use ListConnectionsRequest.ProtoReflect.Descriptor instead.

func (*ListConnectionsRequest) GetLabels

func (x *ListConnectionsRequest) GetLabels() map[string]string

func (*ListConnectionsRequest) GetNamespace

func (x *ListConnectionsRequest) GetNamespace() string

func (*ListConnectionsRequest) GetOrderBy added in v0.4.414

func (x *ListConnectionsRequest) GetOrderBy() string

func (*ListConnectionsRequest) GetPageSize added in v0.4.414

func (x *ListConnectionsRequest) GetPageSize() int32

func (*ListConnectionsRequest) GetPageToken added in v0.4.414

func (x *ListConnectionsRequest) GetPageToken() string

func (*ListConnectionsRequest) ProtoMessage

func (*ListConnectionsRequest) ProtoMessage()

func (*ListConnectionsRequest) ProtoReflect

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

func (*ListConnectionsRequest) Reset

func (x *ListConnectionsRequest) Reset()

func (*ListConnectionsRequest) String

func (x *ListConnectionsRequest) String() string

type ListConnectionsResponse

type ListConnectionsResponse struct {
	Connections   *v1alpha1.ConnectionList `protobuf:"bytes,1,opt,name=connections,proto3" json:"connections,omitempty"`
	NextPageToken string                   `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListConnectionsResponse) Descriptor deprecated

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

Deprecated: Use ListConnectionsResponse.ProtoReflect.Descriptor instead.

func (*ListConnectionsResponse) GetConnections added in v0.4.471

func (x *ListConnectionsResponse) GetConnections() *v1alpha1.ConnectionList

func (*ListConnectionsResponse) GetNextPageToken added in v0.4.471

func (x *ListConnectionsResponse) GetNextPageToken() string

func (*ListConnectionsResponse) ProtoMessage

func (*ListConnectionsResponse) ProtoMessage()

func (*ListConnectionsResponse) ProtoReflect

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

func (*ListConnectionsResponse) Reset

func (x *ListConnectionsResponse) Reset()

func (*ListConnectionsResponse) String

func (x *ListConnectionsResponse) String() string

type TestConnectionRequest

type TestConnectionRequest struct {
	Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Name      string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*TestConnectionRequest) Descriptor deprecated

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

Deprecated: Use TestConnectionRequest.ProtoReflect.Descriptor instead.

func (*TestConnectionRequest) GetName

func (x *TestConnectionRequest) GetName() string

func (*TestConnectionRequest) GetNamespace

func (x *TestConnectionRequest) GetNamespace() string

func (*TestConnectionRequest) ProtoMessage

func (*TestConnectionRequest) ProtoMessage()

func (*TestConnectionRequest) ProtoReflect

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

func (*TestConnectionRequest) Reset

func (x *TestConnectionRequest) Reset()

func (*TestConnectionRequest) String

func (x *TestConnectionRequest) String() string

type TestConnectionResponse

type TestConnectionResponse struct {
	Status bool   `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"`
	Msg    string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
	// contains filtered or unexported fields
}

func (*TestConnectionResponse) Descriptor deprecated

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

Deprecated: Use TestConnectionResponse.ProtoReflect.Descriptor instead.

func (*TestConnectionResponse) GetMsg

func (x *TestConnectionResponse) GetMsg() string

func (*TestConnectionResponse) GetStatus

func (x *TestConnectionResponse) GetStatus() bool

func (*TestConnectionResponse) ProtoMessage

func (*TestConnectionResponse) ProtoMessage()

func (*TestConnectionResponse) ProtoReflect

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

func (*TestConnectionResponse) Reset

func (x *TestConnectionResponse) Reset()

func (*TestConnectionResponse) String

func (x *TestConnectionResponse) String() string

type UnimplementedConnectionServiceServer

type UnimplementedConnectionServiceServer struct {
}

UnimplementedConnectionServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedConnectionServiceServer) CreateConnection

func (*UnimplementedConnectionServiceServer) DeleteConnection

func (*UnimplementedConnectionServiceServer) GetConnection

func (*UnimplementedConnectionServiceServer) ListConnections

func (*UnimplementedConnectionServiceServer) TestConnection

func (*UnimplementedConnectionServiceServer) UpdateConnection

type UpdateConnectionRequest

type UpdateConnectionRequest struct {
	Connection *v1alpha1.Connection  `protobuf:"bytes,1,opt,name=connection,proto3" json:"connection,omitempty"`
	Secret     map[string]string     `` /* 153-byte string literal not displayed */
	FieldMask  *field_mask.FieldMask `protobuf:"bytes,3,opt,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateConnectionRequest) Descriptor deprecated

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

Deprecated: Use UpdateConnectionRequest.ProtoReflect.Descriptor instead.

func (*UpdateConnectionRequest) GetConnection added in v0.4.475

func (x *UpdateConnectionRequest) GetConnection() *v1alpha1.Connection

func (*UpdateConnectionRequest) GetFieldMask added in v0.4.422

func (x *UpdateConnectionRequest) GetFieldMask() *field_mask.FieldMask

func (*UpdateConnectionRequest) GetSecret

func (x *UpdateConnectionRequest) GetSecret() map[string]string

func (*UpdateConnectionRequest) ProtoMessage

func (*UpdateConnectionRequest) ProtoMessage()

func (*UpdateConnectionRequest) ProtoReflect

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

func (*UpdateConnectionRequest) Reset

func (x *UpdateConnectionRequest) Reset()

func (*UpdateConnectionRequest) String

func (x *UpdateConnectionRequest) String() string

type UpdateConnectionResponse

type UpdateConnectionResponse struct {
	// contains filtered or unexported fields
}

func (*UpdateConnectionResponse) Descriptor deprecated

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

Deprecated: Use UpdateConnectionResponse.ProtoReflect.Descriptor instead.

func (*UpdateConnectionResponse) ProtoMessage

func (*UpdateConnectionResponse) ProtoMessage()

func (*UpdateConnectionResponse) ProtoReflect

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

func (*UpdateConnectionResponse) Reset

func (x *UpdateConnectionResponse) Reset()

func (*UpdateConnectionResponse) String

func (x *UpdateConnectionResponse) String() string

Jump to

Keyboard shortcuts

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