Documentation ¶
Overview ¶
Package applications is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- func RegisterApplicationsHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterApplicationsHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ApplicationsClient) error
- func RegisterApplicationsHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterApplicationsHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ApplicationsServer) error
- func RegisterApplicationsServer(s grpc.ServiceRegistrar, srv ApplicationsServer)
- type AddApplicationRequest
- func (*AddApplicationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddApplicationRequest) GetAutoMerge() bool
- func (x *AddApplicationRequest) GetBranch() string
- func (x *AddApplicationRequest) GetConfigUrl() string
- func (x *AddApplicationRequest) GetName() string
- func (x *AddApplicationRequest) GetNamespace() string
- func (x *AddApplicationRequest) GetPath() string
- func (x *AddApplicationRequest) GetUrl() string
- func (*AddApplicationRequest) ProtoMessage()
- func (x *AddApplicationRequest) ProtoReflect() protoreflect.Message
- func (x *AddApplicationRequest) Reset()
- func (x *AddApplicationRequest) String() string
- type AddApplicationResponse
- func (*AddApplicationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AddApplicationResponse) GetApplication() *Application
- func (x *AddApplicationResponse) GetSuccess() bool
- func (*AddApplicationResponse) ProtoMessage()
- func (x *AddApplicationResponse) ProtoReflect() protoreflect.Message
- func (x *AddApplicationResponse) Reset()
- func (x *AddApplicationResponse) String() string
- type Application
- func (*Application) Descriptor() ([]byte, []int)deprecated
- func (x *Application) GetDeploymentConditions() []*Condition
- func (x *Application) GetDeploymentType() AutomationKind
- func (x *Application) GetHelmRelease() *HelmRelease
- func (x *Application) GetKustomization() *Kustomization
- func (x *Application) GetName() string
- func (x *Application) GetNamespace() string
- func (x *Application) GetPath() string
- func (x *Application) GetReconciledObjectKinds() []*GroupVersionKind
- func (x *Application) GetSource() *Source
- func (x *Application) GetSourceConditions() []*Condition
- func (x *Application) GetUrl() string
- func (*Application) ProtoMessage()
- func (x *Application) ProtoReflect() protoreflect.Message
- func (x *Application) Reset()
- func (x *Application) String() string
- type ApplicationsClient
- type ApplicationsServer
- type AuthenticateRequest
- func (*AuthenticateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AuthenticateRequest) GetAccessToken() string
- func (x *AuthenticateRequest) GetProviderName() string
- func (*AuthenticateRequest) ProtoMessage()
- func (x *AuthenticateRequest) ProtoReflect() protoreflect.Message
- func (x *AuthenticateRequest) Reset()
- func (x *AuthenticateRequest) String() string
- type AuthenticateResponse
- func (*AuthenticateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AuthenticateResponse) GetToken() string
- func (*AuthenticateResponse) ProtoMessage()
- func (x *AuthenticateResponse) ProtoReflect() protoreflect.Message
- func (x *AuthenticateResponse) Reset()
- func (x *AuthenticateResponse) String() string
- type AutomationKind
- func (AutomationKind) Descriptor() protoreflect.EnumDescriptor
- func (x AutomationKind) Enum() *AutomationKind
- func (AutomationKind) EnumDescriptor() ([]byte, []int)deprecated
- func (x AutomationKind) Number() protoreflect.EnumNumber
- func (x AutomationKind) String() string
- func (AutomationKind) Type() protoreflect.EnumType
- type Commit
- func (*Commit) Descriptor() ([]byte, []int)deprecated
- func (x *Commit) GetAuthor() string
- func (x *Commit) GetDate() string
- func (x *Commit) GetHash() string
- func (x *Commit) GetMessage() string
- func (x *Commit) GetUrl() string
- func (*Commit) ProtoMessage()
- func (x *Commit) ProtoReflect() protoreflect.Message
- func (x *Commit) Reset()
- func (x *Commit) String() string
- type Condition
- func (*Condition) Descriptor() ([]byte, []int)deprecated
- func (x *Condition) GetMessage() string
- func (x *Condition) GetReason() string
- func (x *Condition) GetStatus() string
- func (x *Condition) GetTimestamp() int32
- func (x *Condition) GetType() string
- func (*Condition) ProtoMessage()
- func (x *Condition) ProtoReflect() protoreflect.Message
- func (x *Condition) Reset()
- func (x *Condition) String() string
- type GetApplicationRequest
- func (*GetApplicationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetApplicationRequest) GetName() string
- func (x *GetApplicationRequest) GetNamespace() string
- func (*GetApplicationRequest) ProtoMessage()
- func (x *GetApplicationRequest) ProtoReflect() protoreflect.Message
- func (x *GetApplicationRequest) Reset()
- func (x *GetApplicationRequest) String() string
- type GetApplicationResponse
- func (*GetApplicationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetApplicationResponse) GetApplication() *Application
- func (*GetApplicationResponse) ProtoMessage()
- func (x *GetApplicationResponse) ProtoReflect() protoreflect.Message
- func (x *GetApplicationResponse) Reset()
- func (x *GetApplicationResponse) String() string
- type GetChildObjectsReq
- func (*GetChildObjectsReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetChildObjectsReq) GetGroupVersionKind() *GroupVersionKind
- func (x *GetChildObjectsReq) GetParentUid() string
- func (*GetChildObjectsReq) ProtoMessage()
- func (x *GetChildObjectsReq) ProtoReflect() protoreflect.Message
- func (x *GetChildObjectsReq) Reset()
- func (x *GetChildObjectsReq) String() string
- type GetChildObjectsRes
- func (*GetChildObjectsRes) Descriptor() ([]byte, []int)deprecated
- func (x *GetChildObjectsRes) GetObjects() []*UnstructuredObject
- func (*GetChildObjectsRes) ProtoMessage()
- func (x *GetChildObjectsRes) ProtoReflect() protoreflect.Message
- func (x *GetChildObjectsRes) Reset()
- func (x *GetChildObjectsRes) String() string
- type GetGithubAuthStatusRequest
- func (*GetGithubAuthStatusRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetGithubAuthStatusRequest) GetDeviceCode() string
- func (*GetGithubAuthStatusRequest) ProtoMessage()
- func (x *GetGithubAuthStatusRequest) ProtoReflect() protoreflect.Message
- func (x *GetGithubAuthStatusRequest) Reset()
- func (x *GetGithubAuthStatusRequest) String() string
- type GetGithubAuthStatusResponse
- func (*GetGithubAuthStatusResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetGithubAuthStatusResponse) GetAccessToken() string
- func (x *GetGithubAuthStatusResponse) GetError() string
- func (*GetGithubAuthStatusResponse) ProtoMessage()
- func (x *GetGithubAuthStatusResponse) ProtoReflect() protoreflect.Message
- func (x *GetGithubAuthStatusResponse) Reset()
- func (x *GetGithubAuthStatusResponse) String() string
- type GetGithubDeviceCodeRequest
- type GetGithubDeviceCodeResponse
- func (*GetGithubDeviceCodeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetGithubDeviceCodeResponse) GetDeviceCode() string
- func (x *GetGithubDeviceCodeResponse) GetInterval() int32
- func (x *GetGithubDeviceCodeResponse) GetUserCode() string
- func (x *GetGithubDeviceCodeResponse) GetValidationURI() string
- func (*GetGithubDeviceCodeResponse) ProtoMessage()
- func (x *GetGithubDeviceCodeResponse) ProtoReflect() protoreflect.Message
- func (x *GetGithubDeviceCodeResponse) Reset()
- func (x *GetGithubDeviceCodeResponse) String() string
- type GetReconciledObjectsReq
- func (*GetReconciledObjectsReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetReconciledObjectsReq) GetAutomationKind() AutomationKind
- func (x *GetReconciledObjectsReq) GetAutomationName() string
- func (x *GetReconciledObjectsReq) GetAutomationNamespace() string
- func (x *GetReconciledObjectsReq) GetKinds() []*GroupVersionKind
- func (*GetReconciledObjectsReq) ProtoMessage()
- func (x *GetReconciledObjectsReq) ProtoReflect() protoreflect.Message
- func (x *GetReconciledObjectsReq) Reset()
- func (x *GetReconciledObjectsReq) String() string
- type GetReconciledObjectsRes
- func (*GetReconciledObjectsRes) Descriptor() ([]byte, []int)deprecated
- func (x *GetReconciledObjectsRes) GetObjects() []*UnstructuredObject
- func (*GetReconciledObjectsRes) ProtoMessage()
- func (x *GetReconciledObjectsRes) ProtoReflect() protoreflect.Message
- func (x *GetReconciledObjectsRes) Reset()
- func (x *GetReconciledObjectsRes) String() string
- type GroupVersionKind
- func (*GroupVersionKind) Descriptor() ([]byte, []int)deprecated
- func (x *GroupVersionKind) GetGroup() string
- func (x *GroupVersionKind) GetKind() string
- func (x *GroupVersionKind) GetVersion() string
- func (*GroupVersionKind) ProtoMessage()
- func (x *GroupVersionKind) ProtoReflect() protoreflect.Message
- func (x *GroupVersionKind) Reset()
- func (x *GroupVersionKind) String() string
- type HelmChart
- func (*HelmChart) Descriptor() ([]byte, []int)deprecated
- func (x *HelmChart) GetChart() string
- func (x *HelmChart) GetValuesFiles() []string
- func (x *HelmChart) GetVersion() string
- func (*HelmChart) ProtoMessage()
- func (x *HelmChart) ProtoReflect() protoreflect.Message
- func (x *HelmChart) Reset()
- func (x *HelmChart) String() string
- type HelmRelease
- func (*HelmRelease) Descriptor() ([]byte, []int)deprecated
- func (x *HelmRelease) GetChart() *HelmChart
- func (x *HelmRelease) GetConditions() []*Condition
- func (x *HelmRelease) GetInterval() string
- func (x *HelmRelease) GetLastAppliedRevision() string
- func (x *HelmRelease) GetName() string
- func (x *HelmRelease) GetNamespace() string
- func (x *HelmRelease) GetTargetNamespace() string
- func (*HelmRelease) ProtoMessage()
- func (x *HelmRelease) ProtoReflect() protoreflect.Message
- func (x *HelmRelease) Reset()
- func (x *HelmRelease) String() string
- type Kustomization
- func (*Kustomization) Descriptor() ([]byte, []int)deprecated
- func (x *Kustomization) GetConditions() []*Condition
- func (x *Kustomization) GetInterval() string
- func (x *Kustomization) GetLastAppliedRevision() string
- func (x *Kustomization) GetName() string
- func (x *Kustomization) GetNamespace() string
- func (x *Kustomization) GetPath() string
- func (x *Kustomization) GetPrune() bool
- func (x *Kustomization) GetTargetNamespace() string
- func (*Kustomization) ProtoMessage()
- func (x *Kustomization) ProtoReflect() protoreflect.Message
- func (x *Kustomization) Reset()
- func (x *Kustomization) String() string
- type ListApplicationsRequest
- func (*ListApplicationsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListApplicationsRequest) GetNamespace() string
- func (*ListApplicationsRequest) ProtoMessage()
- func (x *ListApplicationsRequest) ProtoReflect() protoreflect.Message
- func (x *ListApplicationsRequest) Reset()
- func (x *ListApplicationsRequest) String() string
- type ListApplicationsResponse
- func (*ListApplicationsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListApplicationsResponse) GetApplications() []*Application
- func (*ListApplicationsResponse) ProtoMessage()
- func (x *ListApplicationsResponse) ProtoReflect() protoreflect.Message
- func (x *ListApplicationsResponse) Reset()
- func (x *ListApplicationsResponse) String() string
- type ListCommitsRequest
- func (*ListCommitsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListCommitsRequest) GetName() string
- func (x *ListCommitsRequest) GetNamespace() string
- func (x *ListCommitsRequest) GetPageSize() int32
- func (x *ListCommitsRequest) GetPageToken() int32
- func (*ListCommitsRequest) ProtoMessage()
- func (x *ListCommitsRequest) ProtoReflect() protoreflect.Message
- func (x *ListCommitsRequest) Reset()
- func (x *ListCommitsRequest) String() string
- type ListCommitsResponse
- func (*ListCommitsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListCommitsResponse) GetCommits() []*Commit
- func (x *ListCommitsResponse) GetNextPageToken() int32
- func (*ListCommitsResponse) ProtoMessage()
- func (x *ListCommitsResponse) ProtoReflect() protoreflect.Message
- func (x *ListCommitsResponse) Reset()
- func (x *ListCommitsResponse) String() string
- type RemoveApplicationRequest
- func (*RemoveApplicationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveApplicationRequest) GetAutoMerge() bool
- func (x *RemoveApplicationRequest) GetName() string
- func (x *RemoveApplicationRequest) GetNamespace() string
- func (*RemoveApplicationRequest) ProtoMessage()
- func (x *RemoveApplicationRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveApplicationRequest) Reset()
- func (x *RemoveApplicationRequest) String() string
- type RemoveApplicationResponse
- func (*RemoveApplicationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveApplicationResponse) GetSuccess() bool
- func (*RemoveApplicationResponse) ProtoMessage()
- func (x *RemoveApplicationResponse) ProtoReflect() protoreflect.Message
- func (x *RemoveApplicationResponse) Reset()
- func (x *RemoveApplicationResponse) String() string
- type Source
- func (*Source) Descriptor() ([]byte, []int)deprecated
- func (x *Source) GetConditions() []*Condition
- func (x *Source) GetInterval() string
- func (x *Source) GetName() string
- func (x *Source) GetNamespace() string
- func (x *Source) GetReference() string
- func (x *Source) GetSuspend() bool
- func (x *Source) GetTimeout() string
- func (x *Source) GetType() Source_Type
- func (x *Source) GetUrl() string
- func (*Source) ProtoMessage()
- func (x *Source) ProtoReflect() protoreflect.Message
- func (x *Source) Reset()
- func (x *Source) String() string
- type Source_Type
- func (Source_Type) Descriptor() protoreflect.EnumDescriptor
- func (x Source_Type) Enum() *Source_Type
- func (Source_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x Source_Type) Number() protoreflect.EnumNumber
- func (x Source_Type) String() string
- func (Source_Type) Type() protoreflect.EnumType
- type UnimplementedApplicationsServer
- func (UnimplementedApplicationsServer) AddApplication(context.Context, *AddApplicationRequest) (*AddApplicationResponse, error)
- func (UnimplementedApplicationsServer) Authenticate(context.Context, *AuthenticateRequest) (*AuthenticateResponse, error)
- func (UnimplementedApplicationsServer) GetApplication(context.Context, *GetApplicationRequest) (*GetApplicationResponse, error)
- func (UnimplementedApplicationsServer) GetChildObjects(context.Context, *GetChildObjectsReq) (*GetChildObjectsRes, error)
- func (UnimplementedApplicationsServer) GetGithubAuthStatus(context.Context, *GetGithubAuthStatusRequest) (*GetGithubAuthStatusResponse, error)
- func (UnimplementedApplicationsServer) GetGithubDeviceCode(context.Context, *GetGithubDeviceCodeRequest) (*GetGithubDeviceCodeResponse, error)
- func (UnimplementedApplicationsServer) GetReconciledObjects(context.Context, *GetReconciledObjectsReq) (*GetReconciledObjectsRes, error)
- func (UnimplementedApplicationsServer) ListApplications(context.Context, *ListApplicationsRequest) (*ListApplicationsResponse, error)
- func (UnimplementedApplicationsServer) ListCommits(context.Context, *ListCommitsRequest) (*ListCommitsResponse, error)
- func (UnimplementedApplicationsServer) RemoveApplication(context.Context, *RemoveApplicationRequest) (*RemoveApplicationResponse, error)
- type UnsafeApplicationsServer
- type UnstructuredObject
- func (*UnstructuredObject) Descriptor() ([]byte, []int)deprecated
- func (x *UnstructuredObject) GetGroupVersionKind() *GroupVersionKind
- func (x *UnstructuredObject) GetName() string
- func (x *UnstructuredObject) GetNamespace() string
- func (x *UnstructuredObject) GetStatus() string
- func (x *UnstructuredObject) GetUid() string
- func (*UnstructuredObject) ProtoMessage()
- func (x *UnstructuredObject) ProtoReflect() protoreflect.Message
- func (x *UnstructuredObject) Reset()
- func (x *UnstructuredObject) String() string
Constants ¶
This section is empty.
Variables ¶
var ( AutomationKind_name = map[int32]string{ 0: "Kustomize", 1: "Helm", } AutomationKind_value = map[string]int32{ "Kustomize": 0, "Helm": 1, } )
Enum value maps for AutomationKind.
var ( Source_Type_name = map[int32]string{ 0: "Git", 1: "Helm", } Source_Type_value = map[string]int32{ "Git": 0, "Helm": 1, } )
Enum value maps for Source_Type.
var Applications_ServiceDesc = grpc.ServiceDesc{ ServiceName: "wego_server.v1.Applications", HandlerType: (*ApplicationsServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Authenticate", Handler: _Applications_Authenticate_Handler, }, { MethodName: "ListApplications", Handler: _Applications_ListApplications_Handler, }, { MethodName: "GetApplication", Handler: _Applications_GetApplication_Handler, }, { MethodName: "ListCommits", Handler: _Applications_ListCommits_Handler, }, { MethodName: "GetReconciledObjects", Handler: _Applications_GetReconciledObjects_Handler, }, { MethodName: "GetChildObjects", Handler: _Applications_GetChildObjects_Handler, }, { MethodName: "GetGithubDeviceCode", Handler: _Applications_GetGithubDeviceCode_Handler, }, { MethodName: "GetGithubAuthStatus", Handler: _Applications_GetGithubAuthStatus_Handler, }, { MethodName: "AddApplication", Handler: _Applications_AddApplication_Handler, }, { MethodName: "RemoveApplication", Handler: _Applications_RemoveApplication_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "api/applications/applications.proto", }
Applications_ServiceDesc is the grpc.ServiceDesc for Applications service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_api_applications_applications_proto protoreflect.FileDescriptor
Functions ¶
func RegisterApplicationsHandler ¶
func RegisterApplicationsHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterApplicationsHandler registers the http handlers for service Applications to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterApplicationsHandlerClient ¶
func RegisterApplicationsHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ApplicationsClient) error
RegisterApplicationsHandlerClient registers the http handlers for service Applications to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "ApplicationsClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "ApplicationsClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "ApplicationsClient" to call the correct interceptors.
func RegisterApplicationsHandlerFromEndpoint ¶
func RegisterApplicationsHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterApplicationsHandlerFromEndpoint is same as RegisterApplicationsHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterApplicationsHandlerServer ¶
func RegisterApplicationsHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ApplicationsServer) error
RegisterApplicationsHandlerServer registers the http handlers for service Applications to "mux". UnaryRPC :call ApplicationsServer 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 RegisterApplicationsHandlerFromEndpoint instead.
func RegisterApplicationsServer ¶
func RegisterApplicationsServer(s grpc.ServiceRegistrar, srv ApplicationsServer)
Types ¶
type AddApplicationRequest ¶ added in v0.3.1
type AddApplicationRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` Url string `protobuf:"bytes,4,opt,name=url,proto3" json:"url,omitempty"` Branch string `protobuf:"bytes,5,opt,name=branch,proto3" json:"branch,omitempty"` AutoMerge bool `protobuf:"varint,6,opt,name=autoMerge,proto3" json:"autoMerge,omitempty"` ConfigUrl string `protobuf:"bytes,7,opt,name=configUrl,proto3" json:"configUrl,omitempty"` // contains filtered or unexported fields }
func (*AddApplicationRequest) Descriptor
deprecated
added in
v0.3.1
func (*AddApplicationRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddApplicationRequest.ProtoReflect.Descriptor instead.
func (*AddApplicationRequest) GetAutoMerge ¶ added in v0.3.1
func (x *AddApplicationRequest) GetAutoMerge() bool
func (*AddApplicationRequest) GetBranch ¶ added in v0.3.1
func (x *AddApplicationRequest) GetBranch() string
func (*AddApplicationRequest) GetConfigUrl ¶ added in v0.3.1
func (x *AddApplicationRequest) GetConfigUrl() string
func (*AddApplicationRequest) GetName ¶ added in v0.3.1
func (x *AddApplicationRequest) GetName() string
func (*AddApplicationRequest) GetNamespace ¶ added in v0.3.1
func (x *AddApplicationRequest) GetNamespace() string
func (*AddApplicationRequest) GetPath ¶ added in v0.3.1
func (x *AddApplicationRequest) GetPath() string
func (*AddApplicationRequest) GetUrl ¶ added in v0.3.1
func (x *AddApplicationRequest) GetUrl() string
func (*AddApplicationRequest) ProtoMessage ¶ added in v0.3.1
func (*AddApplicationRequest) ProtoMessage()
func (*AddApplicationRequest) ProtoReflect ¶ added in v0.3.1
func (x *AddApplicationRequest) ProtoReflect() protoreflect.Message
func (*AddApplicationRequest) Reset ¶ added in v0.3.1
func (x *AddApplicationRequest) Reset()
func (*AddApplicationRequest) String ¶ added in v0.3.1
func (x *AddApplicationRequest) String() string
type AddApplicationResponse ¶ added in v0.3.1
type AddApplicationResponse struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` Application *Application `protobuf:"bytes,2,opt,name=application,proto3" json:"application,omitempty"` // contains filtered or unexported fields }
func (*AddApplicationResponse) Descriptor
deprecated
added in
v0.3.1
func (*AddApplicationResponse) Descriptor() ([]byte, []int)
Deprecated: Use AddApplicationResponse.ProtoReflect.Descriptor instead.
func (*AddApplicationResponse) GetApplication ¶ added in v0.3.1
func (x *AddApplicationResponse) GetApplication() *Application
func (*AddApplicationResponse) GetSuccess ¶ added in v0.3.1
func (x *AddApplicationResponse) GetSuccess() bool
func (*AddApplicationResponse) ProtoMessage ¶ added in v0.3.1
func (*AddApplicationResponse) ProtoMessage()
func (*AddApplicationResponse) ProtoReflect ¶ added in v0.3.1
func (x *AddApplicationResponse) ProtoReflect() protoreflect.Message
func (*AddApplicationResponse) Reset ¶ added in v0.3.1
func (x *AddApplicationResponse) Reset()
func (*AddApplicationResponse) String ¶ added in v0.3.1
func (x *AddApplicationResponse) String() string
type Application ¶
type Application struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The name of the application Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` // The file path where the k8s yaml files for this application are stored. Url string `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty"` // The git repository URL for this application SourceConditions []*Condition `protobuf:"bytes,4,rep,name=source_conditions,json=sourceConditions,proto3" json:"source_conditions,omitempty"` // A list of conditions for the Source related to this Application DeploymentConditions []*Condition `protobuf:"bytes,5,rep,name=deployment_conditions,json=deploymentConditions,proto3" json:"deployment_conditions,omitempty"` // A list of conditions for the Kustomization or HelmRelease for this application Namespace string `protobuf:"bytes,6,opt,name=namespace,proto3" json:"namespace,omitempty"` // The kubernetes namespace of the application DeploymentType AutomationKind `` // An object representing the k8s Group, Version and Kind of a deployment /* 139-byte string literal not displayed */ ReconciledObjectKinds []*GroupVersionKind `` // A list of unique object kinds for all resources that were created as a result of this application /* 126-byte string literal not displayed */ Kustomization *Kustomization `protobuf:"bytes,9,opt,name=kustomization,proto3" json:"kustomization,omitempty"` // Kustomization associated to the application HelmRelease *HelmRelease `protobuf:"bytes,10,opt,name=helm_release,json=helmRelease,proto3" json:"helm_release,omitempty"` // HelmRelease associated to the application Source *Source `protobuf:"bytes,11,opt,name=source,proto3" json:"source,omitempty"` // Source associated to the application // contains filtered or unexported fields }
func (*Application) Descriptor
deprecated
func (*Application) Descriptor() ([]byte, []int)
Deprecated: Use Application.ProtoReflect.Descriptor instead.
func (*Application) GetDeploymentConditions ¶ added in v0.2.2
func (x *Application) GetDeploymentConditions() []*Condition
func (*Application) GetDeploymentType ¶ added in v0.2.5
func (x *Application) GetDeploymentType() AutomationKind
func (*Application) GetHelmRelease ¶ added in v0.3.0
func (x *Application) GetHelmRelease() *HelmRelease
func (*Application) GetKustomization ¶ added in v0.3.0
func (x *Application) GetKustomization() *Kustomization
func (*Application) GetName ¶
func (x *Application) GetName() string
func (*Application) GetNamespace ¶ added in v0.2.5
func (x *Application) GetNamespace() string
func (*Application) GetPath ¶
func (x *Application) GetPath() string
func (*Application) GetReconciledObjectKinds ¶ added in v0.2.5
func (x *Application) GetReconciledObjectKinds() []*GroupVersionKind
func (*Application) GetSource ¶ added in v0.3.0
func (x *Application) GetSource() *Source
func (*Application) GetSourceConditions ¶ added in v0.2.2
func (x *Application) GetSourceConditions() []*Condition
func (*Application) GetUrl ¶
func (x *Application) GetUrl() string
func (*Application) ProtoMessage ¶
func (*Application) ProtoMessage()
func (*Application) ProtoReflect ¶
func (x *Application) ProtoReflect() protoreflect.Message
func (*Application) Reset ¶
func (x *Application) Reset()
func (*Application) String ¶
func (x *Application) String() string
type ApplicationsClient ¶
type ApplicationsClient interface { // // Authenticate generates jwt token using git provider name and git provider token arguments Authenticate(ctx context.Context, in *AuthenticateRequest, opts ...grpc.CallOption) (*AuthenticateResponse, error) // // ListApplications returns the list of WeGo applications that the authenticated user has access to. ListApplications(ctx context.Context, in *ListApplicationsRequest, opts ...grpc.CallOption) (*ListApplicationsResponse, error) // // GetApplication returns a given application GetApplication(ctx context.Context, in *GetApplicationRequest, opts ...grpc.CallOption) (*GetApplicationResponse, error) // // ListCommits returns the list of WeGo commits that the authenticated user has access to. ListCommits(ctx context.Context, in *ListCommitsRequest, opts ...grpc.CallOption) (*ListCommitsResponse, error) // // GetReconciledObjects returns a list of objects that were created as a result of the Application. // This list is derived by looking at the Kustomization that is associated with an Application. // Helm Releases are not currently supported. GetReconciledObjects(ctx context.Context, in *GetReconciledObjectsReq, opts ...grpc.CallOption) (*GetReconciledObjectsRes, error) // // GetChildObjects returns the children of a given object, specified by a GroupVersionKind. // Not all Kubernets objects have children. For example, a Deployment has a child ReplicaSet, but a Service has no child objects. GetChildObjects(ctx context.Context, in *GetChildObjectsReq, opts ...grpc.CallOption) (*GetChildObjectsRes, error) // // GetGithubDeviceCode retrieves a temporary device code for Github authentication. // This code is used to start the Github device-flow. GetGithubDeviceCode(ctx context.Context, in *GetGithubDeviceCodeRequest, opts ...grpc.CallOption) (*GetGithubDeviceCodeResponse, error) // // GetGithubAuthStatus gets the status of the Github device flow authentication requests. // Once the user has completed the Github device flow, an access token will be returned. // This token will expired in 15 minutes, after which the user will need to complete the flow again // to do Git Provider operations. GetGithubAuthStatus(ctx context.Context, in *GetGithubAuthStatusRequest, opts ...grpc.CallOption) (*GetGithubAuthStatusResponse, error) // // AddApplication adds an Application to a cluster via GitOps. AddApplication(ctx context.Context, in *AddApplicationRequest, opts ...grpc.CallOption) (*AddApplicationResponse, error) // // RemoveApplication removes an Application from a cluster via GitOps. RemoveApplication(ctx context.Context, in *RemoveApplicationRequest, opts ...grpc.CallOption) (*RemoveApplicationResponse, error) }
ApplicationsClient is the client API for Applications service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewApplicationsClient ¶
func NewApplicationsClient(cc grpc.ClientConnInterface) ApplicationsClient
type ApplicationsServer ¶
type ApplicationsServer interface { // // Authenticate generates jwt token using git provider name and git provider token arguments Authenticate(context.Context, *AuthenticateRequest) (*AuthenticateResponse, error) // // ListApplications returns the list of WeGo applications that the authenticated user has access to. ListApplications(context.Context, *ListApplicationsRequest) (*ListApplicationsResponse, error) // // GetApplication returns a given application GetApplication(context.Context, *GetApplicationRequest) (*GetApplicationResponse, error) // // ListCommits returns the list of WeGo commits that the authenticated user has access to. ListCommits(context.Context, *ListCommitsRequest) (*ListCommitsResponse, error) // // GetReconciledObjects returns a list of objects that were created as a result of the Application. // This list is derived by looking at the Kustomization that is associated with an Application. // Helm Releases are not currently supported. GetReconciledObjects(context.Context, *GetReconciledObjectsReq) (*GetReconciledObjectsRes, error) // // GetChildObjects returns the children of a given object, specified by a GroupVersionKind. // Not all Kubernets objects have children. For example, a Deployment has a child ReplicaSet, but a Service has no child objects. GetChildObjects(context.Context, *GetChildObjectsReq) (*GetChildObjectsRes, error) // // GetGithubDeviceCode retrieves a temporary device code for Github authentication. // This code is used to start the Github device-flow. GetGithubDeviceCode(context.Context, *GetGithubDeviceCodeRequest) (*GetGithubDeviceCodeResponse, error) // // GetGithubAuthStatus gets the status of the Github device flow authentication requests. // Once the user has completed the Github device flow, an access token will be returned. // This token will expired in 15 minutes, after which the user will need to complete the flow again // to do Git Provider operations. GetGithubAuthStatus(context.Context, *GetGithubAuthStatusRequest) (*GetGithubAuthStatusResponse, error) // // AddApplication adds an Application to a cluster via GitOps. AddApplication(context.Context, *AddApplicationRequest) (*AddApplicationResponse, error) // // RemoveApplication removes an Application from a cluster via GitOps. RemoveApplication(context.Context, *RemoveApplicationRequest) (*RemoveApplicationResponse, error) // contains filtered or unexported methods }
ApplicationsServer is the server API for Applications service. All implementations must embed UnimplementedApplicationsServer for forward compatibility
type AuthenticateRequest ¶ added in v0.2.5
type AuthenticateRequest struct { ProviderName string `protobuf:"bytes,1,opt,name=provider_name,json=providerName,proto3" json:"provider_name,omitempty"` // The name of the git provider AccessToken string `protobuf:"bytes,2,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"` // The token of the git provider // contains filtered or unexported fields }
func (*AuthenticateRequest) Descriptor
deprecated
added in
v0.2.5
func (*AuthenticateRequest) Descriptor() ([]byte, []int)
Deprecated: Use AuthenticateRequest.ProtoReflect.Descriptor instead.
func (*AuthenticateRequest) GetAccessToken ¶ added in v0.2.5
func (x *AuthenticateRequest) GetAccessToken() string
func (*AuthenticateRequest) GetProviderName ¶ added in v0.2.5
func (x *AuthenticateRequest) GetProviderName() string
func (*AuthenticateRequest) ProtoMessage ¶ added in v0.2.5
func (*AuthenticateRequest) ProtoMessage()
func (*AuthenticateRequest) ProtoReflect ¶ added in v0.2.5
func (x *AuthenticateRequest) ProtoReflect() protoreflect.Message
func (*AuthenticateRequest) Reset ¶ added in v0.2.5
func (x *AuthenticateRequest) Reset()
func (*AuthenticateRequest) String ¶ added in v0.2.5
func (x *AuthenticateRequest) String() string
type AuthenticateResponse ¶ added in v0.2.5
type AuthenticateResponse struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` // The jwt token that was generated using git provider name and git provider token // contains filtered or unexported fields }
func (*AuthenticateResponse) Descriptor
deprecated
added in
v0.2.5
func (*AuthenticateResponse) Descriptor() ([]byte, []int)
Deprecated: Use AuthenticateResponse.ProtoReflect.Descriptor instead.
func (*AuthenticateResponse) GetToken ¶ added in v0.2.5
func (x *AuthenticateResponse) GetToken() string
func (*AuthenticateResponse) ProtoMessage ¶ added in v0.2.5
func (*AuthenticateResponse) ProtoMessage()
func (*AuthenticateResponse) ProtoReflect ¶ added in v0.2.5
func (x *AuthenticateResponse) ProtoReflect() protoreflect.Message
func (*AuthenticateResponse) Reset ¶ added in v0.2.5
func (x *AuthenticateResponse) Reset()
func (*AuthenticateResponse) String ¶ added in v0.2.5
func (x *AuthenticateResponse) String() string
type AutomationKind ¶ added in v0.3.0
type AutomationKind int32
AutomationKind represents the deployment method used
const ( AutomationKind_Kustomize AutomationKind = 0 AutomationKind_Helm AutomationKind = 1 )
func (AutomationKind) Descriptor ¶ added in v0.3.0
func (AutomationKind) Descriptor() protoreflect.EnumDescriptor
func (AutomationKind) Enum ¶ added in v0.3.0
func (x AutomationKind) Enum() *AutomationKind
func (AutomationKind) EnumDescriptor
deprecated
added in
v0.3.0
func (AutomationKind) EnumDescriptor() ([]byte, []int)
Deprecated: Use AutomationKind.Descriptor instead.
func (AutomationKind) Number ¶ added in v0.3.0
func (x AutomationKind) Number() protoreflect.EnumNumber
func (AutomationKind) String ¶ added in v0.3.0
func (x AutomationKind) String() string
func (AutomationKind) Type ¶ added in v0.3.0
func (AutomationKind) Type() protoreflect.EnumType
type Commit ¶ added in v0.2.5
type Commit struct { Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` // The hash of the commit Date string `protobuf:"bytes,2,opt,name=date,proto3" json:"date,omitempty"` // The date the commit was made. Author string `protobuf:"bytes,3,opt,name=author,proto3" json:"author,omitempty"` // The author of the commit Message string `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"` // The commit message Url string `protobuf:"bytes,5,opt,name=url,proto3" json:"url,omitempty"` // The commit url // contains filtered or unexported fields }
func (*Commit) Descriptor
deprecated
added in
v0.2.5
func (*Commit) GetMessage ¶ added in v0.2.5
func (*Commit) ProtoMessage ¶ added in v0.2.5
func (*Commit) ProtoMessage()
func (*Commit) ProtoReflect ¶ added in v0.2.5
func (x *Commit) ProtoReflect() protoreflect.Message
type Condition ¶ added in v0.2.2
type Condition struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` Reason string `protobuf:"bytes,3,opt,name=reason,proto3" json:"reason,omitempty"` Message string `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"` Timestamp int32 `protobuf:"varint,5,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // contains filtered or unexported fields }
This object represents a single condition for a Kubernetes object. It roughly matches the Kubernetes type defined here: https://pkg.go.dev/k8s.io/apimachinery/pkg/apis/meta/v1#Condition
func (*Condition) Descriptor
deprecated
added in
v0.2.2
func (*Condition) GetMessage ¶ added in v0.2.2
func (*Condition) GetTimestamp ¶ added in v0.2.2
func (*Condition) ProtoMessage ¶ added in v0.2.2
func (*Condition) ProtoMessage()
func (*Condition) ProtoReflect ¶ added in v0.2.2
func (x *Condition) ProtoReflect() protoreflect.Message
type GetApplicationRequest ¶
type GetApplicationRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The name of an application Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` // The kubernetes namespace of the application.` // contains filtered or unexported fields }
func (*GetApplicationRequest) Descriptor
deprecated
func (*GetApplicationRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetApplicationRequest.ProtoReflect.Descriptor instead.
func (*GetApplicationRequest) GetName ¶ added in v0.2.1
func (x *GetApplicationRequest) GetName() string
func (*GetApplicationRequest) GetNamespace ¶ added in v0.2.1
func (x *GetApplicationRequest) GetNamespace() string
func (*GetApplicationRequest) ProtoMessage ¶
func (*GetApplicationRequest) ProtoMessage()
func (*GetApplicationRequest) ProtoReflect ¶
func (x *GetApplicationRequest) ProtoReflect() protoreflect.Message
func (*GetApplicationRequest) Reset ¶
func (x *GetApplicationRequest) Reset()
func (*GetApplicationRequest) String ¶
func (x *GetApplicationRequest) String() string
type GetApplicationResponse ¶
type GetApplicationResponse struct { Application *Application `protobuf:"bytes,1,opt,name=application,proto3" json:"application,omitempty"` // contains filtered or unexported fields }
func (*GetApplicationResponse) Descriptor
deprecated
func (*GetApplicationResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetApplicationResponse.ProtoReflect.Descriptor instead.
func (*GetApplicationResponse) GetApplication ¶
func (x *GetApplicationResponse) GetApplication() *Application
func (*GetApplicationResponse) ProtoMessage ¶
func (*GetApplicationResponse) ProtoMessage()
func (*GetApplicationResponse) ProtoReflect ¶
func (x *GetApplicationResponse) ProtoReflect() protoreflect.Message
func (*GetApplicationResponse) Reset ¶
func (x *GetApplicationResponse) Reset()
func (*GetApplicationResponse) String ¶
func (x *GetApplicationResponse) String() string
type GetChildObjectsReq ¶ added in v0.2.5
type GetChildObjectsReq struct { GroupVersionKind *GroupVersionKind `protobuf:"bytes,1,opt,name=groupVersionKind,proto3" json:"groupVersionKind,omitempty"` ParentUid string `protobuf:"bytes,2,opt,name=parentUid,proto3" json:"parentUid,omitempty"` // contains filtered or unexported fields }
func (*GetChildObjectsReq) Descriptor
deprecated
added in
v0.2.5
func (*GetChildObjectsReq) Descriptor() ([]byte, []int)
Deprecated: Use GetChildObjectsReq.ProtoReflect.Descriptor instead.
func (*GetChildObjectsReq) GetGroupVersionKind ¶ added in v0.2.5
func (x *GetChildObjectsReq) GetGroupVersionKind() *GroupVersionKind
func (*GetChildObjectsReq) GetParentUid ¶ added in v0.2.5
func (x *GetChildObjectsReq) GetParentUid() string
func (*GetChildObjectsReq) ProtoMessage ¶ added in v0.2.5
func (*GetChildObjectsReq) ProtoMessage()
func (*GetChildObjectsReq) ProtoReflect ¶ added in v0.2.5
func (x *GetChildObjectsReq) ProtoReflect() protoreflect.Message
func (*GetChildObjectsReq) Reset ¶ added in v0.2.5
func (x *GetChildObjectsReq) Reset()
func (*GetChildObjectsReq) String ¶ added in v0.2.5
func (x *GetChildObjectsReq) String() string
type GetChildObjectsRes ¶ added in v0.2.5
type GetChildObjectsRes struct { Objects []*UnstructuredObject `protobuf:"bytes,1,rep,name=objects,proto3" json:"objects,omitempty"` // contains filtered or unexported fields }
func (*GetChildObjectsRes) Descriptor
deprecated
added in
v0.2.5
func (*GetChildObjectsRes) Descriptor() ([]byte, []int)
Deprecated: Use GetChildObjectsRes.ProtoReflect.Descriptor instead.
func (*GetChildObjectsRes) GetObjects ¶ added in v0.2.5
func (x *GetChildObjectsRes) GetObjects() []*UnstructuredObject
func (*GetChildObjectsRes) ProtoMessage ¶ added in v0.2.5
func (*GetChildObjectsRes) ProtoMessage()
func (*GetChildObjectsRes) ProtoReflect ¶ added in v0.2.5
func (x *GetChildObjectsRes) ProtoReflect() protoreflect.Message
func (*GetChildObjectsRes) Reset ¶ added in v0.2.5
func (x *GetChildObjectsRes) Reset()
func (*GetChildObjectsRes) String ¶ added in v0.2.5
func (x *GetChildObjectsRes) String() string
type GetGithubAuthStatusRequest ¶ added in v0.3.0
type GetGithubAuthStatusRequest struct { DeviceCode string `protobuf:"bytes,1,opt,name=deviceCode,proto3" json:"deviceCode,omitempty"` // The deviceCode returned from a GetGithubDeviceCodeResponse // contains filtered or unexported fields }
func (*GetGithubAuthStatusRequest) Descriptor
deprecated
added in
v0.3.0
func (*GetGithubAuthStatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetGithubAuthStatusRequest.ProtoReflect.Descriptor instead.
func (*GetGithubAuthStatusRequest) GetDeviceCode ¶ added in v0.3.0
func (x *GetGithubAuthStatusRequest) GetDeviceCode() string
func (*GetGithubAuthStatusRequest) ProtoMessage ¶ added in v0.3.0
func (*GetGithubAuthStatusRequest) ProtoMessage()
func (*GetGithubAuthStatusRequest) ProtoReflect ¶ added in v0.3.0
func (x *GetGithubAuthStatusRequest) ProtoReflect() protoreflect.Message
func (*GetGithubAuthStatusRequest) Reset ¶ added in v0.3.0
func (x *GetGithubAuthStatusRequest) Reset()
func (*GetGithubAuthStatusRequest) String ¶ added in v0.3.0
func (x *GetGithubAuthStatusRequest) String() string
type GetGithubAuthStatusResponse ¶ added in v0.3.0
type GetGithubAuthStatusResponse struct { AccessToken string `protobuf:"bytes,1,opt,name=accessToken,proto3" json:"accessToken,omitempty"` // An access token that can be used to interact with the Weave GitOps API. Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` // An error message. // contains filtered or unexported fields }
func (*GetGithubAuthStatusResponse) Descriptor
deprecated
added in
v0.3.0
func (*GetGithubAuthStatusResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetGithubAuthStatusResponse.ProtoReflect.Descriptor instead.
func (*GetGithubAuthStatusResponse) GetAccessToken ¶ added in v0.3.0
func (x *GetGithubAuthStatusResponse) GetAccessToken() string
func (*GetGithubAuthStatusResponse) GetError ¶ added in v0.3.0
func (x *GetGithubAuthStatusResponse) GetError() string
func (*GetGithubAuthStatusResponse) ProtoMessage ¶ added in v0.3.0
func (*GetGithubAuthStatusResponse) ProtoMessage()
func (*GetGithubAuthStatusResponse) ProtoReflect ¶ added in v0.3.0
func (x *GetGithubAuthStatusResponse) ProtoReflect() protoreflect.Message
func (*GetGithubAuthStatusResponse) Reset ¶ added in v0.3.0
func (x *GetGithubAuthStatusResponse) Reset()
func (*GetGithubAuthStatusResponse) String ¶ added in v0.3.0
func (x *GetGithubAuthStatusResponse) String() string
type GetGithubDeviceCodeRequest ¶ added in v0.3.0
type GetGithubDeviceCodeRequest struct {
// contains filtered or unexported fields
}
func (*GetGithubDeviceCodeRequest) Descriptor
deprecated
added in
v0.3.0
func (*GetGithubDeviceCodeRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetGithubDeviceCodeRequest.ProtoReflect.Descriptor instead.
func (*GetGithubDeviceCodeRequest) ProtoMessage ¶ added in v0.3.0
func (*GetGithubDeviceCodeRequest) ProtoMessage()
func (*GetGithubDeviceCodeRequest) ProtoReflect ¶ added in v0.3.0
func (x *GetGithubDeviceCodeRequest) ProtoReflect() protoreflect.Message
func (*GetGithubDeviceCodeRequest) Reset ¶ added in v0.3.0
func (x *GetGithubDeviceCodeRequest) Reset()
func (*GetGithubDeviceCodeRequest) String ¶ added in v0.3.0
func (x *GetGithubDeviceCodeRequest) String() string
type GetGithubDeviceCodeResponse ¶ added in v0.3.0
type GetGithubDeviceCodeResponse struct { UserCode string `protobuf:"bytes,1,opt,name=userCode,proto3" json:"userCode,omitempty"` // The Github Device Flow code that will be shown to the user DeviceCode string `protobuf:"bytes,2,opt,name=deviceCode,proto3" json:"deviceCode,omitempty"` // A code that uniquely identifies a device ValidationURI string `protobuf:"bytes,3,opt,name=validationURI,proto3" json:"validationURI,omitempty"` // The URI that the user will visit to complete the flow Interval int32 `protobuf:"varint,4,opt,name=interval,proto3" json:"interval,omitempty"` // How often the client should retry the request // contains filtered or unexported fields }
func (*GetGithubDeviceCodeResponse) Descriptor
deprecated
added in
v0.3.0
func (*GetGithubDeviceCodeResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetGithubDeviceCodeResponse.ProtoReflect.Descriptor instead.
func (*GetGithubDeviceCodeResponse) GetDeviceCode ¶ added in v0.3.0
func (x *GetGithubDeviceCodeResponse) GetDeviceCode() string
func (*GetGithubDeviceCodeResponse) GetInterval ¶ added in v0.3.0
func (x *GetGithubDeviceCodeResponse) GetInterval() int32
func (*GetGithubDeviceCodeResponse) GetUserCode ¶ added in v0.3.0
func (x *GetGithubDeviceCodeResponse) GetUserCode() string
func (*GetGithubDeviceCodeResponse) GetValidationURI ¶ added in v0.3.0
func (x *GetGithubDeviceCodeResponse) GetValidationURI() string
func (*GetGithubDeviceCodeResponse) ProtoMessage ¶ added in v0.3.0
func (*GetGithubDeviceCodeResponse) ProtoMessage()
func (*GetGithubDeviceCodeResponse) ProtoReflect ¶ added in v0.3.0
func (x *GetGithubDeviceCodeResponse) ProtoReflect() protoreflect.Message
func (*GetGithubDeviceCodeResponse) Reset ¶ added in v0.3.0
func (x *GetGithubDeviceCodeResponse) Reset()
func (*GetGithubDeviceCodeResponse) String ¶ added in v0.3.0
func (x *GetGithubDeviceCodeResponse) String() string
type GetReconciledObjectsReq ¶ added in v0.2.5
type GetReconciledObjectsReq struct { AutomationName string `protobuf:"bytes,1,opt,name=automationName,proto3" json:"automationName,omitempty"` AutomationNamespace string `protobuf:"bytes,2,opt,name=automationNamespace,proto3" json:"automationNamespace,omitempty"` AutomationKind AutomationKind `protobuf:"varint,3,opt,name=automationKind,proto3,enum=wego_server.v1.AutomationKind" json:"automationKind,omitempty"` Kinds []*GroupVersionKind `protobuf:"bytes,4,rep,name=kinds,proto3" json:"kinds,omitempty"` // contains filtered or unexported fields }
func (*GetReconciledObjectsReq) Descriptor
deprecated
added in
v0.2.5
func (*GetReconciledObjectsReq) Descriptor() ([]byte, []int)
Deprecated: Use GetReconciledObjectsReq.ProtoReflect.Descriptor instead.
func (*GetReconciledObjectsReq) GetAutomationKind ¶ added in v0.2.5
func (x *GetReconciledObjectsReq) GetAutomationKind() AutomationKind
func (*GetReconciledObjectsReq) GetAutomationName ¶ added in v0.2.5
func (x *GetReconciledObjectsReq) GetAutomationName() string
func (*GetReconciledObjectsReq) GetAutomationNamespace ¶ added in v0.2.5
func (x *GetReconciledObjectsReq) GetAutomationNamespace() string
func (*GetReconciledObjectsReq) GetKinds ¶ added in v0.2.5
func (x *GetReconciledObjectsReq) GetKinds() []*GroupVersionKind
func (*GetReconciledObjectsReq) ProtoMessage ¶ added in v0.2.5
func (*GetReconciledObjectsReq) ProtoMessage()
func (*GetReconciledObjectsReq) ProtoReflect ¶ added in v0.2.5
func (x *GetReconciledObjectsReq) ProtoReflect() protoreflect.Message
func (*GetReconciledObjectsReq) Reset ¶ added in v0.2.5
func (x *GetReconciledObjectsReq) Reset()
func (*GetReconciledObjectsReq) String ¶ added in v0.2.5
func (x *GetReconciledObjectsReq) String() string
type GetReconciledObjectsRes ¶ added in v0.2.5
type GetReconciledObjectsRes struct { Objects []*UnstructuredObject `protobuf:"bytes,1,rep,name=objects,proto3" json:"objects,omitempty"` // contains filtered or unexported fields }
func (*GetReconciledObjectsRes) Descriptor
deprecated
added in
v0.2.5
func (*GetReconciledObjectsRes) Descriptor() ([]byte, []int)
Deprecated: Use GetReconciledObjectsRes.ProtoReflect.Descriptor instead.
func (*GetReconciledObjectsRes) GetObjects ¶ added in v0.2.5
func (x *GetReconciledObjectsRes) GetObjects() []*UnstructuredObject
func (*GetReconciledObjectsRes) ProtoMessage ¶ added in v0.2.5
func (*GetReconciledObjectsRes) ProtoMessage()
func (*GetReconciledObjectsRes) ProtoReflect ¶ added in v0.2.5
func (x *GetReconciledObjectsRes) ProtoReflect() protoreflect.Message
func (*GetReconciledObjectsRes) Reset ¶ added in v0.2.5
func (x *GetReconciledObjectsRes) Reset()
func (*GetReconciledObjectsRes) String ¶ added in v0.2.5
func (x *GetReconciledObjectsRes) String() string
type GroupVersionKind ¶ added in v0.2.5
type GroupVersionKind struct { Group string `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"` Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"` Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
GroupVersionKind represents an objects Kubernetes API type data
func (*GroupVersionKind) Descriptor
deprecated
added in
v0.2.5
func (*GroupVersionKind) Descriptor() ([]byte, []int)
Deprecated: Use GroupVersionKind.ProtoReflect.Descriptor instead.
func (*GroupVersionKind) GetGroup ¶ added in v0.2.5
func (x *GroupVersionKind) GetGroup() string
func (*GroupVersionKind) GetKind ¶ added in v0.2.5
func (x *GroupVersionKind) GetKind() string
func (*GroupVersionKind) GetVersion ¶ added in v0.2.5
func (x *GroupVersionKind) GetVersion() string
func (*GroupVersionKind) ProtoMessage ¶ added in v0.2.5
func (*GroupVersionKind) ProtoMessage()
func (*GroupVersionKind) ProtoReflect ¶ added in v0.2.5
func (x *GroupVersionKind) ProtoReflect() protoreflect.Message
func (*GroupVersionKind) Reset ¶ added in v0.2.5
func (x *GroupVersionKind) Reset()
func (*GroupVersionKind) String ¶ added in v0.2.5
func (x *GroupVersionKind) String() string
type HelmChart ¶ added in v0.3.0
type HelmChart struct { Chart string `protobuf:"bytes,1,opt,name=chart,proto3" json:"chart,omitempty"` // The name or path the Helm chart Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // Version semver expression ValuesFiles []string `protobuf:"bytes,3,rep,name=valuesFiles,proto3" json:"valuesFiles,omitempty"` // List of values files to use as the chart values // contains filtered or unexported fields }
func (*HelmChart) Descriptor
deprecated
added in
v0.3.0
func (*HelmChart) GetValuesFiles ¶ added in v0.3.0
func (*HelmChart) GetVersion ¶ added in v0.3.0
func (*HelmChart) ProtoMessage ¶ added in v0.3.0
func (*HelmChart) ProtoMessage()
func (*HelmChart) ProtoReflect ¶ added in v0.3.0
func (x *HelmChart) ProtoReflect() protoreflect.Message
type HelmRelease ¶ added in v0.3.0
type HelmRelease struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The name of the Helm Release Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` // The namespace of the Helm Release TargetNamespace string `protobuf:"bytes,3,opt,name=targetNamespace,proto3" json:"targetNamespace,omitempty"` // Namepsace to target when performing operations for the HelmRelease Chart *HelmChart `protobuf:"bytes,4,opt,name=chart,proto3" json:"chart,omitempty"` // Chart defines the template of the Chart that should be created for this HelmRelease. Interval string `protobuf:"bytes,5,opt,name=interval,proto3" json:"interval,omitempty"` // Interval at which to reconcile the Helm release. LastAppliedRevision string `protobuf:"bytes,6,opt,name=lastAppliedRevision,proto3" json:"lastAppliedRevision,omitempty"` // The last successfully applied revision. Conditions []*Condition `protobuf:"bytes,7,rep,name=conditions,proto3" json:"conditions,omitempty"` // A list of conditions for this Helm Release // contains filtered or unexported fields }
func (*HelmRelease) Descriptor
deprecated
added in
v0.3.0
func (*HelmRelease) Descriptor() ([]byte, []int)
Deprecated: Use HelmRelease.ProtoReflect.Descriptor instead.
func (*HelmRelease) GetChart ¶ added in v0.3.0
func (x *HelmRelease) GetChart() *HelmChart
func (*HelmRelease) GetConditions ¶ added in v0.3.0
func (x *HelmRelease) GetConditions() []*Condition
func (*HelmRelease) GetInterval ¶ added in v0.3.0
func (x *HelmRelease) GetInterval() string
func (*HelmRelease) GetLastAppliedRevision ¶ added in v0.3.0
func (x *HelmRelease) GetLastAppliedRevision() string
func (*HelmRelease) GetName ¶ added in v0.3.0
func (x *HelmRelease) GetName() string
func (*HelmRelease) GetNamespace ¶ added in v0.3.0
func (x *HelmRelease) GetNamespace() string
func (*HelmRelease) GetTargetNamespace ¶ added in v0.3.0
func (x *HelmRelease) GetTargetNamespace() string
func (*HelmRelease) ProtoMessage ¶ added in v0.3.0
func (*HelmRelease) ProtoMessage()
func (*HelmRelease) ProtoReflect ¶ added in v0.3.0
func (x *HelmRelease) ProtoReflect() protoreflect.Message
func (*HelmRelease) Reset ¶ added in v0.3.0
func (x *HelmRelease) Reset()
func (*HelmRelease) String ¶ added in v0.3.0
func (x *HelmRelease) String() string
type Kustomization ¶ added in v0.3.0
type Kustomization struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The name of the Kustomization Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` // The namespace of the Kustomization TargetNamespace string `protobuf:"bytes,3,opt,name=targetNamespace,proto3" json:"targetNamespace,omitempty"` // Sets or overrides the namespace in the kustomization.yaml file. Path string `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"` // Path to the directory containing the kustomization.yaml file, or the set of plain YAMLs a kustomization.yaml should be generated for. Conditions []*Condition `protobuf:"bytes,5,rep,name=conditions,proto3" json:"conditions,omitempty"` // A list of conditions for this Kustomization Interval string `protobuf:"bytes,6,opt,name=interval,proto3" json:"interval,omitempty"` // The interval at which to reconcile the Kustomization. Prune bool `protobuf:"varint,7,opt,name=prune,proto3" json:"prune,omitempty"` // Enables garbage collection. LastAppliedRevision string `protobuf:"bytes,8,opt,name=lastAppliedRevision,proto3" json:"lastAppliedRevision,omitempty"` // The last successfully applied revision. // contains filtered or unexported fields }
func (*Kustomization) Descriptor
deprecated
added in
v0.3.0
func (*Kustomization) Descriptor() ([]byte, []int)
Deprecated: Use Kustomization.ProtoReflect.Descriptor instead.
func (*Kustomization) GetConditions ¶ added in v0.3.0
func (x *Kustomization) GetConditions() []*Condition
func (*Kustomization) GetInterval ¶ added in v0.3.0
func (x *Kustomization) GetInterval() string
func (*Kustomization) GetLastAppliedRevision ¶ added in v0.3.0
func (x *Kustomization) GetLastAppliedRevision() string
func (*Kustomization) GetName ¶ added in v0.3.0
func (x *Kustomization) GetName() string
func (*Kustomization) GetNamespace ¶ added in v0.3.0
func (x *Kustomization) GetNamespace() string
func (*Kustomization) GetPath ¶ added in v0.3.0
func (x *Kustomization) GetPath() string
func (*Kustomization) GetPrune ¶ added in v0.3.0
func (x *Kustomization) GetPrune() bool
func (*Kustomization) GetTargetNamespace ¶ added in v0.3.0
func (x *Kustomization) GetTargetNamespace() string
func (*Kustomization) ProtoMessage ¶ added in v0.3.0
func (*Kustomization) ProtoMessage()
func (*Kustomization) ProtoReflect ¶ added in v0.3.0
func (x *Kustomization) ProtoReflect() protoreflect.Message
func (*Kustomization) Reset ¶ added in v0.3.0
func (x *Kustomization) Reset()
func (*Kustomization) String ¶ added in v0.3.0
func (x *Kustomization) String() string
type ListApplicationsRequest ¶
type ListApplicationsRequest struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` // The namespace to look for applications // contains filtered or unexported fields }
func (*ListApplicationsRequest) Descriptor
deprecated
func (*ListApplicationsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListApplicationsRequest.ProtoReflect.Descriptor instead.
func (*ListApplicationsRequest) GetNamespace ¶ added in v0.2.0
func (x *ListApplicationsRequest) GetNamespace() string
func (*ListApplicationsRequest) ProtoMessage ¶
func (*ListApplicationsRequest) ProtoMessage()
func (*ListApplicationsRequest) ProtoReflect ¶
func (x *ListApplicationsRequest) ProtoReflect() protoreflect.Message
func (*ListApplicationsRequest) Reset ¶
func (x *ListApplicationsRequest) Reset()
func (*ListApplicationsRequest) String ¶
func (x *ListApplicationsRequest) String() string
type ListApplicationsResponse ¶
type ListApplicationsResponse struct { Applications []*Application `protobuf:"bytes,1,rep,name=applications,proto3" json:"applications,omitempty"` // A list of applications // contains filtered or unexported fields }
func (*ListApplicationsResponse) Descriptor
deprecated
func (*ListApplicationsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListApplicationsResponse.ProtoReflect.Descriptor instead.
func (*ListApplicationsResponse) GetApplications ¶
func (x *ListApplicationsResponse) GetApplications() []*Application
func (*ListApplicationsResponse) ProtoMessage ¶
func (*ListApplicationsResponse) ProtoMessage()
func (*ListApplicationsResponse) ProtoReflect ¶
func (x *ListApplicationsResponse) ProtoReflect() protoreflect.Message
func (*ListApplicationsResponse) Reset ¶
func (x *ListApplicationsResponse) Reset()
func (*ListApplicationsResponse) String ¶
func (x *ListApplicationsResponse) String() string
type ListCommitsRequest ¶ added in v0.2.5
type ListCommitsRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The application name Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` // The namespace the application is in PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Optional. A pagination token returned from a previous call // that indicates where this listing should continue from. PageToken *int32 `protobuf:"varint,4,opt,name=page_token,json=pageToken,proto3,oneof" json:"page_token,omitempty"` // contains filtered or unexported fields }
func (*ListCommitsRequest) Descriptor
deprecated
added in
v0.2.5
func (*ListCommitsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListCommitsRequest.ProtoReflect.Descriptor instead.
func (*ListCommitsRequest) GetName ¶ added in v0.2.5
func (x *ListCommitsRequest) GetName() string
func (*ListCommitsRequest) GetNamespace ¶ added in v0.2.5
func (x *ListCommitsRequest) GetNamespace() string
func (*ListCommitsRequest) GetPageSize ¶ added in v0.2.5
func (x *ListCommitsRequest) GetPageSize() int32
func (*ListCommitsRequest) GetPageToken ¶ added in v0.2.5
func (x *ListCommitsRequest) GetPageToken() int32
func (*ListCommitsRequest) ProtoMessage ¶ added in v0.2.5
func (*ListCommitsRequest) ProtoMessage()
func (*ListCommitsRequest) ProtoReflect ¶ added in v0.2.5
func (x *ListCommitsRequest) ProtoReflect() protoreflect.Message
func (*ListCommitsRequest) Reset ¶ added in v0.2.5
func (x *ListCommitsRequest) Reset()
func (*ListCommitsRequest) String ¶ added in v0.2.5
func (x *ListCommitsRequest) String() string
type ListCommitsResponse ¶ added in v0.2.5
type ListCommitsResponse struct { Commits []*Commit `protobuf:"bytes,1,rep,name=commits,proto3" json:"commits,omitempty"` // A list of commits // A pagination token returned from a previous call // that indicates from where listing should continue. NextPageToken int32 `protobuf:"varint,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*ListCommitsResponse) Descriptor
deprecated
added in
v0.2.5
func (*ListCommitsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListCommitsResponse.ProtoReflect.Descriptor instead.
func (*ListCommitsResponse) GetCommits ¶ added in v0.2.5
func (x *ListCommitsResponse) GetCommits() []*Commit
func (*ListCommitsResponse) GetNextPageToken ¶ added in v0.2.5
func (x *ListCommitsResponse) GetNextPageToken() int32
func (*ListCommitsResponse) ProtoMessage ¶ added in v0.2.5
func (*ListCommitsResponse) ProtoMessage()
func (*ListCommitsResponse) ProtoReflect ¶ added in v0.2.5
func (x *ListCommitsResponse) ProtoReflect() protoreflect.Message
func (*ListCommitsResponse) Reset ¶ added in v0.2.5
func (x *ListCommitsResponse) Reset()
func (*ListCommitsResponse) String ¶ added in v0.2.5
func (x *ListCommitsResponse) String() string
type RemoveApplicationRequest ¶ added in v0.3.2
type RemoveApplicationRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` AutoMerge bool `protobuf:"varint,3,opt,name=autoMerge,proto3" json:"autoMerge,omitempty"` // contains filtered or unexported fields }
func (*RemoveApplicationRequest) Descriptor
deprecated
added in
v0.3.2
func (*RemoveApplicationRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveApplicationRequest.ProtoReflect.Descriptor instead.
func (*RemoveApplicationRequest) GetAutoMerge ¶ added in v0.3.2
func (x *RemoveApplicationRequest) GetAutoMerge() bool
func (*RemoveApplicationRequest) GetName ¶ added in v0.3.2
func (x *RemoveApplicationRequest) GetName() string
func (*RemoveApplicationRequest) GetNamespace ¶ added in v0.3.2
func (x *RemoveApplicationRequest) GetNamespace() string
func (*RemoveApplicationRequest) ProtoMessage ¶ added in v0.3.2
func (*RemoveApplicationRequest) ProtoMessage()
func (*RemoveApplicationRequest) ProtoReflect ¶ added in v0.3.2
func (x *RemoveApplicationRequest) ProtoReflect() protoreflect.Message
func (*RemoveApplicationRequest) Reset ¶ added in v0.3.2
func (x *RemoveApplicationRequest) Reset()
func (*RemoveApplicationRequest) String ¶ added in v0.3.2
func (x *RemoveApplicationRequest) String() string
type RemoveApplicationResponse ¶ added in v0.3.2
type RemoveApplicationResponse struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` // contains filtered or unexported fields }
func (*RemoveApplicationResponse) Descriptor
deprecated
added in
v0.3.2
func (*RemoveApplicationResponse) Descriptor() ([]byte, []int)
Deprecated: Use RemoveApplicationResponse.ProtoReflect.Descriptor instead.
func (*RemoveApplicationResponse) GetSuccess ¶ added in v0.3.2
func (x *RemoveApplicationResponse) GetSuccess() bool
func (*RemoveApplicationResponse) ProtoMessage ¶ added in v0.3.2
func (*RemoveApplicationResponse) ProtoMessage()
func (*RemoveApplicationResponse) ProtoReflect ¶ added in v0.3.2
func (x *RemoveApplicationResponse) ProtoReflect() protoreflect.Message
func (*RemoveApplicationResponse) Reset ¶ added in v0.3.2
func (x *RemoveApplicationResponse) Reset()
func (*RemoveApplicationResponse) String ¶ added in v0.3.2
func (x *RemoveApplicationResponse) String() string
type Source ¶ added in v0.3.0
type Source struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The name of the Source Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` // Git or Helm repository URL Type Source_Type `protobuf:"varint,3,opt,name=type,proto3,enum=wego_server.v1.Source_Type" json:"type,omitempty"` // Source Type Namespace string `protobuf:"bytes,4,opt,name=namespace,proto3" json:"namespace,omitempty"` // The namespace of the Source Interval string `protobuf:"bytes,5,opt,name=interval,proto3" json:"interval,omitempty"` // The interval at which to check the upstream for updates Reference string `protobuf:"bytes,6,opt,name=reference,proto3" json:"reference,omitempty"` // Git branch or tag Suspend bool `protobuf:"varint,7,opt,name=suspend,proto3" json:"suspend,omitempty"` // This flag tells the controller to suspend the reconciliation of this source Timeout string `protobuf:"bytes,8,opt,name=timeout,proto3" json:"timeout,omitempty"` // The timeout of index downloading. Conditions []*Condition `protobuf:"bytes,9,rep,name=conditions,proto3" json:"conditions,omitempty"` // A list of conditions for this Source // contains filtered or unexported fields }
func (*Source) Descriptor
deprecated
added in
v0.3.0
func (*Source) GetConditions ¶ added in v0.3.0
func (*Source) GetInterval ¶ added in v0.3.0
func (*Source) GetNamespace ¶ added in v0.3.0
func (*Source) GetReference ¶ added in v0.3.0
func (*Source) GetSuspend ¶ added in v0.3.0
func (*Source) GetTimeout ¶ added in v0.3.0
func (*Source) GetType ¶ added in v0.3.0
func (x *Source) GetType() Source_Type
func (*Source) ProtoMessage ¶ added in v0.3.0
func (*Source) ProtoMessage()
func (*Source) ProtoReflect ¶ added in v0.3.0
func (x *Source) ProtoReflect() protoreflect.Message
type Source_Type ¶ added in v0.3.0
type Source_Type int32
const ( Source_Git Source_Type = 0 Source_Helm Source_Type = 1 )
func (Source_Type) Descriptor ¶ added in v0.3.0
func (Source_Type) Descriptor() protoreflect.EnumDescriptor
func (Source_Type) Enum ¶ added in v0.3.0
func (x Source_Type) Enum() *Source_Type
func (Source_Type) EnumDescriptor
deprecated
added in
v0.3.0
func (Source_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use Source_Type.Descriptor instead.
func (Source_Type) Number ¶ added in v0.3.0
func (x Source_Type) Number() protoreflect.EnumNumber
func (Source_Type) String ¶ added in v0.3.0
func (x Source_Type) String() string
func (Source_Type) Type ¶ added in v0.3.0
func (Source_Type) Type() protoreflect.EnumType
type UnimplementedApplicationsServer ¶
type UnimplementedApplicationsServer struct { }
UnimplementedApplicationsServer must be embedded to have forward compatible implementations.
func (UnimplementedApplicationsServer) AddApplication ¶ added in v0.3.1
func (UnimplementedApplicationsServer) AddApplication(context.Context, *AddApplicationRequest) (*AddApplicationResponse, error)
func (UnimplementedApplicationsServer) Authenticate ¶ added in v0.2.5
func (UnimplementedApplicationsServer) Authenticate(context.Context, *AuthenticateRequest) (*AuthenticateResponse, error)
func (UnimplementedApplicationsServer) GetApplication ¶
func (UnimplementedApplicationsServer) GetApplication(context.Context, *GetApplicationRequest) (*GetApplicationResponse, error)
func (UnimplementedApplicationsServer) GetChildObjects ¶ added in v0.2.5
func (UnimplementedApplicationsServer) GetChildObjects(context.Context, *GetChildObjectsReq) (*GetChildObjectsRes, error)
func (UnimplementedApplicationsServer) GetGithubAuthStatus ¶ added in v0.3.0
func (UnimplementedApplicationsServer) GetGithubAuthStatus(context.Context, *GetGithubAuthStatusRequest) (*GetGithubAuthStatusResponse, error)
func (UnimplementedApplicationsServer) GetGithubDeviceCode ¶ added in v0.3.0
func (UnimplementedApplicationsServer) GetGithubDeviceCode(context.Context, *GetGithubDeviceCodeRequest) (*GetGithubDeviceCodeResponse, error)
func (UnimplementedApplicationsServer) GetReconciledObjects ¶ added in v0.2.5
func (UnimplementedApplicationsServer) GetReconciledObjects(context.Context, *GetReconciledObjectsReq) (*GetReconciledObjectsRes, error)
func (UnimplementedApplicationsServer) ListApplications ¶
func (UnimplementedApplicationsServer) ListApplications(context.Context, *ListApplicationsRequest) (*ListApplicationsResponse, error)
func (UnimplementedApplicationsServer) ListCommits ¶ added in v0.2.5
func (UnimplementedApplicationsServer) ListCommits(context.Context, *ListCommitsRequest) (*ListCommitsResponse, error)
func (UnimplementedApplicationsServer) RemoveApplication ¶ added in v0.3.2
func (UnimplementedApplicationsServer) RemoveApplication(context.Context, *RemoveApplicationRequest) (*RemoveApplicationResponse, error)
type UnsafeApplicationsServer ¶
type UnsafeApplicationsServer interface {
// contains filtered or unexported methods
}
UnsafeApplicationsServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ApplicationsServer will result in compilation errors.
type UnstructuredObject ¶ added in v0.2.5
type UnstructuredObject struct { GroupVersionKind *GroupVersionKind `protobuf:"bytes,1,opt,name=groupVersionKind,proto3" json:"groupVersionKind,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Namespace string `protobuf:"bytes,3,opt,name=namespace,proto3" json:"namespace,omitempty"` Uid string `protobuf:"bytes,4,opt,name=uid,proto3" json:"uid,omitempty"` Status string `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"` // contains filtered or unexported fields }
UnstructuredObject is a Kubernetes object of an unknown type
func (*UnstructuredObject) Descriptor
deprecated
added in
v0.2.5
func (*UnstructuredObject) Descriptor() ([]byte, []int)
Deprecated: Use UnstructuredObject.ProtoReflect.Descriptor instead.
func (*UnstructuredObject) GetGroupVersionKind ¶ added in v0.2.5
func (x *UnstructuredObject) GetGroupVersionKind() *GroupVersionKind
func (*UnstructuredObject) GetName ¶ added in v0.2.5
func (x *UnstructuredObject) GetName() string
func (*UnstructuredObject) GetNamespace ¶ added in v0.2.5
func (x *UnstructuredObject) GetNamespace() string
func (*UnstructuredObject) GetStatus ¶ added in v0.2.5
func (x *UnstructuredObject) GetStatus() string
func (*UnstructuredObject) GetUid ¶ added in v0.2.5
func (x *UnstructuredObject) GetUid() string
func (*UnstructuredObject) ProtoMessage ¶ added in v0.2.5
func (*UnstructuredObject) ProtoMessage()
func (*UnstructuredObject) ProtoReflect ¶ added in v0.2.5
func (x *UnstructuredObject) ProtoReflect() protoreflect.Message
func (*UnstructuredObject) Reset ¶ added in v0.2.5
func (x *UnstructuredObject) Reset()
func (*UnstructuredObject) String ¶ added in v0.2.5
func (x *UnstructuredObject) String() string