Documentation ¶
Overview ¶
Package api is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- func RegisterCoreHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterCoreHandlerClient(ctx context.Context, mux *runtime.ServeMux, client CoreClient) error
- func RegisterCoreHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterCoreHandlerServer(ctx context.Context, mux *runtime.ServeMux, server CoreServer) error
- func RegisterCoreServer(s grpc.ServiceRegistrar, srv CoreServer)
- 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() string
- func (x *Condition) GetType() string
- func (*Condition) ProtoMessage()
- func (x *Condition) ProtoReflect() protoreflect.Message
- func (x *Condition) Reset()
- func (x *Condition) String() string
- type CoreClient
- type CoreServer
- type Crd
- func (*Crd) Descriptor() ([]byte, []int)deprecated
- func (x *Crd) GetClusterName() string
- func (x *Crd) GetKind() string
- func (x *Crd) GetName() *Crd_Name
- func (x *Crd) GetUid() string
- func (x *Crd) GetVersion() string
- func (*Crd) ProtoMessage()
- func (x *Crd) ProtoReflect() protoreflect.Message
- func (x *Crd) Reset()
- func (x *Crd) String() string
- type Crd_Name
- type Deployment
- func (*Deployment) Descriptor() ([]byte, []int)deprecated
- func (x *Deployment) GetClusterName() string
- func (x *Deployment) GetConditions() []*Condition
- func (x *Deployment) GetImages() []string
- func (x *Deployment) GetName() string
- func (x *Deployment) GetNamespace() string
- func (x *Deployment) GetSuspended() bool
- func (x *Deployment) GetUid() string
- func (*Deployment) ProtoMessage()
- func (x *Deployment) ProtoReflect() protoreflect.Message
- func (x *Deployment) Reset()
- func (x *Deployment) String() string
- type Event
- func (*Event) Descriptor() ([]byte, []int)deprecated
- func (x *Event) GetComponent() string
- func (x *Event) GetHost() string
- func (x *Event) GetMessage() string
- func (x *Event) GetName() string
- func (x *Event) GetReason() string
- func (x *Event) GetTimestamp() string
- func (x *Event) GetType() string
- func (x *Event) GetUid() string
- func (*Event) ProtoMessage()
- func (x *Event) ProtoReflect() protoreflect.Message
- func (x *Event) Reset()
- func (x *Event) String() string
- type GetChildObjectsRequest
- func (*GetChildObjectsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetChildObjectsRequest) GetClusterName() string
- func (x *GetChildObjectsRequest) GetGroupVersionKind() *GroupVersionKind
- func (x *GetChildObjectsRequest) GetNamespace() string
- func (x *GetChildObjectsRequest) GetParentUid() string
- func (*GetChildObjectsRequest) ProtoMessage()
- func (x *GetChildObjectsRequest) ProtoReflect() protoreflect.Message
- func (x *GetChildObjectsRequest) Reset()
- func (x *GetChildObjectsRequest) String() string
- type GetChildObjectsResponse
- func (*GetChildObjectsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetChildObjectsResponse) GetObjects() []*UnstructuredObject
- func (*GetChildObjectsResponse) ProtoMessage()
- func (x *GetChildObjectsResponse) ProtoReflect() protoreflect.Message
- func (x *GetChildObjectsResponse) Reset()
- func (x *GetChildObjectsResponse) String() string
- type GetFeatureFlagsRequest
- type GetFeatureFlagsResponse
- func (*GetFeatureFlagsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetFeatureFlagsResponse) GetFlags() map[string]string
- func (*GetFeatureFlagsResponse) ProtoMessage()
- func (x *GetFeatureFlagsResponse) ProtoReflect() protoreflect.Message
- func (x *GetFeatureFlagsResponse) Reset()
- func (x *GetFeatureFlagsResponse) String() string
- type GetFluxNamespaceRequest
- type GetFluxNamespaceResponse
- func (*GetFluxNamespaceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetFluxNamespaceResponse) GetName() string
- func (*GetFluxNamespaceResponse) ProtoMessage()
- func (x *GetFluxNamespaceResponse) ProtoReflect() protoreflect.Message
- func (x *GetFluxNamespaceResponse) Reset()
- func (x *GetFluxNamespaceResponse) String() string
- type GetObjectRequest
- func (*GetObjectRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetObjectRequest) GetClusterName() string
- func (x *GetObjectRequest) GetKind() string
- func (x *GetObjectRequest) GetName() string
- func (x *GetObjectRequest) GetNamespace() string
- func (*GetObjectRequest) ProtoMessage()
- func (x *GetObjectRequest) ProtoReflect() protoreflect.Message
- func (x *GetObjectRequest) Reset()
- func (x *GetObjectRequest) String() string
- type GetObjectResponse
- type GetReconciledObjectsRequest
- func (*GetReconciledObjectsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetReconciledObjectsRequest) GetAutomationKind() string
- func (x *GetReconciledObjectsRequest) GetAutomationName() string
- func (x *GetReconciledObjectsRequest) GetClusterName() string
- func (x *GetReconciledObjectsRequest) GetKinds() []*GroupVersionKind
- func (x *GetReconciledObjectsRequest) GetNamespace() string
- func (*GetReconciledObjectsRequest) ProtoMessage()
- func (x *GetReconciledObjectsRequest) ProtoReflect() protoreflect.Message
- func (x *GetReconciledObjectsRequest) Reset()
- func (x *GetReconciledObjectsRequest) String() string
- type GetReconciledObjectsResponse
- func (*GetReconciledObjectsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetReconciledObjectsResponse) GetObjects() []*UnstructuredObject
- func (*GetReconciledObjectsResponse) ProtoMessage()
- func (x *GetReconciledObjectsResponse) ProtoReflect() protoreflect.Message
- func (x *GetReconciledObjectsResponse) Reset()
- func (x *GetReconciledObjectsResponse) String() string
- type GetVersionRequest
- type GetVersionResponse
- func (*GetVersionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetVersionResponse) GetBranch() string
- func (x *GetVersionResponse) GetBuildTime() string
- func (x *GetVersionResponse) GetCommit() string
- func (x *GetVersionResponse) GetFluxVersion() string
- func (x *GetVersionResponse) GetKubeVersion() string
- func (x *GetVersionResponse) GetSemver() string
- func (*GetVersionResponse) ProtoMessage()
- func (x *GetVersionResponse) ProtoReflect() protoreflect.Message
- func (x *GetVersionResponse) Reset()
- func (x *GetVersionResponse) String() string
- type GitRepositoryRef
- func (*GitRepositoryRef) Descriptor() ([]byte, []int)deprecated
- func (x *GitRepositoryRef) GetBranch() string
- func (x *GitRepositoryRef) GetCommit() string
- func (x *GitRepositoryRef) GetSemver() string
- func (x *GitRepositoryRef) GetTag() string
- func (*GitRepositoryRef) ProtoMessage()
- func (x *GitRepositoryRef) ProtoReflect() protoreflect.Message
- func (x *GitRepositoryRef) Reset()
- func (x *GitRepositoryRef) 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 HelmRepositoryType
- func (HelmRepositoryType) Descriptor() protoreflect.EnumDescriptor
- func (x HelmRepositoryType) Enum() *HelmRepositoryType
- func (HelmRepositoryType) EnumDescriptor() ([]byte, []int)deprecated
- func (x HelmRepositoryType) Number() protoreflect.EnumNumber
- func (x HelmRepositoryType) String() string
- func (HelmRepositoryType) Type() protoreflect.EnumType
- type Interval
- func (*Interval) Descriptor() ([]byte, []int)deprecated
- func (x *Interval) GetHours() int64
- func (x *Interval) GetMinutes() int64
- func (x *Interval) GetSeconds() int64
- func (*Interval) ProtoMessage()
- func (x *Interval) ProtoReflect() protoreflect.Message
- func (x *Interval) Reset()
- func (x *Interval) String() string
- type Kind
- type ListError
- func (*ListError) Descriptor() ([]byte, []int)deprecated
- func (x *ListError) GetClusterName() string
- func (x *ListError) GetMessage() string
- func (x *ListError) GetNamespace() string
- func (*ListError) ProtoMessage()
- func (x *ListError) ProtoReflect() protoreflect.Message
- func (x *ListError) Reset()
- func (x *ListError) String() string
- type ListEventsRequest
- func (*ListEventsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListEventsRequest) GetInvolvedObject() *ObjectRef
- func (*ListEventsRequest) ProtoMessage()
- func (x *ListEventsRequest) ProtoReflect() protoreflect.Message
- func (x *ListEventsRequest) Reset()
- func (x *ListEventsRequest) String() string
- type ListEventsResponse
- func (*ListEventsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListEventsResponse) GetEvents() []*Event
- func (*ListEventsResponse) ProtoMessage()
- func (x *ListEventsResponse) ProtoReflect() protoreflect.Message
- func (x *ListEventsResponse) Reset()
- func (x *ListEventsResponse) String() string
- type ListFluxCrdsRequest
- func (*ListFluxCrdsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListFluxCrdsRequest) GetClusterName() string
- func (*ListFluxCrdsRequest) ProtoMessage()
- func (x *ListFluxCrdsRequest) ProtoReflect() protoreflect.Message
- func (x *ListFluxCrdsRequest) Reset()
- func (x *ListFluxCrdsRequest) String() string
- type ListFluxCrdsResponse
- func (*ListFluxCrdsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListFluxCrdsResponse) GetCrds() []*Crd
- func (x *ListFluxCrdsResponse) GetErrors() []*ListError
- func (*ListFluxCrdsResponse) ProtoMessage()
- func (x *ListFluxCrdsResponse) ProtoReflect() protoreflect.Message
- func (x *ListFluxCrdsResponse) Reset()
- func (x *ListFluxCrdsResponse) String() string
- type ListFluxRuntimeObjectsRequest
- func (*ListFluxRuntimeObjectsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListFluxRuntimeObjectsRequest) GetClusterName() string
- func (x *ListFluxRuntimeObjectsRequest) GetNamespace() string
- func (*ListFluxRuntimeObjectsRequest) ProtoMessage()
- func (x *ListFluxRuntimeObjectsRequest) ProtoReflect() protoreflect.Message
- func (x *ListFluxRuntimeObjectsRequest) Reset()
- func (x *ListFluxRuntimeObjectsRequest) String() string
- type ListFluxRuntimeObjectsResponse
- func (*ListFluxRuntimeObjectsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListFluxRuntimeObjectsResponse) GetDeployments() []*Deployment
- func (x *ListFluxRuntimeObjectsResponse) GetErrors() []*ListError
- func (*ListFluxRuntimeObjectsResponse) ProtoMessage()
- func (x *ListFluxRuntimeObjectsResponse) ProtoReflect() protoreflect.Message
- func (x *ListFluxRuntimeObjectsResponse) Reset()
- func (x *ListFluxRuntimeObjectsResponse) String() string
- type ListNamespacesRequest
- type ListNamespacesResponse
- func (*ListNamespacesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListNamespacesResponse) GetNamespaces() []*Namespace
- func (*ListNamespacesResponse) ProtoMessage()
- func (x *ListNamespacesResponse) ProtoReflect() protoreflect.Message
- func (x *ListNamespacesResponse) Reset()
- func (x *ListNamespacesResponse) String() string
- type ListObjectsRequest
- func (*ListObjectsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListObjectsRequest) GetClusterName() string
- func (x *ListObjectsRequest) GetKind() string
- func (x *ListObjectsRequest) GetNamespace() string
- func (*ListObjectsRequest) ProtoMessage()
- func (x *ListObjectsRequest) ProtoReflect() protoreflect.Message
- func (x *ListObjectsRequest) Reset()
- func (x *ListObjectsRequest) String() string
- type ListObjectsResponse
- func (*ListObjectsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListObjectsResponse) GetErrors() []*ListError
- func (x *ListObjectsResponse) GetObjects() []*Object
- func (*ListObjectsResponse) ProtoMessage()
- func (x *ListObjectsResponse) ProtoReflect() protoreflect.Message
- func (x *ListObjectsResponse) Reset()
- func (x *ListObjectsResponse) String() string
- type Namespace
- func (*Namespace) Descriptor() ([]byte, []int)deprecated
- func (x *Namespace) GetAnnotations() map[string]string
- func (x *Namespace) GetClusterName() string
- func (x *Namespace) GetLabels() map[string]string
- func (x *Namespace) GetName() string
- func (x *Namespace) GetStatus() string
- func (*Namespace) ProtoMessage()
- func (x *Namespace) ProtoReflect() protoreflect.Message
- func (x *Namespace) Reset()
- func (x *Namespace) String() string
- type NamespacedObjectReference
- func (*NamespacedObjectReference) Descriptor() ([]byte, []int)deprecated
- func (x *NamespacedObjectReference) GetName() string
- func (x *NamespacedObjectReference) GetNamespace() string
- func (*NamespacedObjectReference) ProtoMessage()
- func (x *NamespacedObjectReference) ProtoReflect() protoreflect.Message
- func (x *NamespacedObjectReference) Reset()
- func (x *NamespacedObjectReference) String() string
- type Object
- func (*Object) Descriptor() ([]byte, []int)deprecated
- func (x *Object) GetClusterName() string
- func (x *Object) GetInventory() []*GroupVersionKind
- func (x *Object) GetPayload() string
- func (x *Object) GetTenant() string
- func (x *Object) GetUid() string
- func (*Object) ProtoMessage()
- func (x *Object) ProtoReflect() protoreflect.Message
- func (x *Object) Reset()
- func (x *Object) String() string
- type ObjectRef
- func (*ObjectRef) Descriptor() ([]byte, []int)deprecated
- func (x *ObjectRef) GetClusterName() string
- func (x *ObjectRef) GetKind() string
- func (x *ObjectRef) GetName() string
- func (x *ObjectRef) GetNamespace() string
- func (*ObjectRef) ProtoMessage()
- func (x *ObjectRef) ProtoReflect() protoreflect.Message
- func (x *ObjectRef) Reset()
- func (x *ObjectRef) String() string
- type Pagination
- type SyncFluxObjectRequest
- func (*SyncFluxObjectRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SyncFluxObjectRequest) GetObjects() []*ObjectRef
- func (x *SyncFluxObjectRequest) GetWithSource() bool
- func (*SyncFluxObjectRequest) ProtoMessage()
- func (x *SyncFluxObjectRequest) ProtoReflect() protoreflect.Message
- func (x *SyncFluxObjectRequest) Reset()
- func (x *SyncFluxObjectRequest) String() string
- type SyncFluxObjectResponse
- type ToggleSuspendResourceRequest
- func (*ToggleSuspendResourceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ToggleSuspendResourceRequest) GetObjects() []*ObjectRef
- func (x *ToggleSuspendResourceRequest) GetSuspend() bool
- func (*ToggleSuspendResourceRequest) ProtoMessage()
- func (x *ToggleSuspendResourceRequest) ProtoReflect() protoreflect.Message
- func (x *ToggleSuspendResourceRequest) Reset()
- func (x *ToggleSuspendResourceRequest) String() string
- type ToggleSuspendResourceResponse
- func (*ToggleSuspendResourceResponse) Descriptor() ([]byte, []int)deprecated
- func (*ToggleSuspendResourceResponse) ProtoMessage()
- func (x *ToggleSuspendResourceResponse) ProtoReflect() protoreflect.Message
- func (x *ToggleSuspendResourceResponse) Reset()
- func (x *ToggleSuspendResourceResponse) String() string
- type UnimplementedCoreServer
- func (UnimplementedCoreServer) GetChildObjects(context.Context, *GetChildObjectsRequest) (*GetChildObjectsResponse, error)
- func (UnimplementedCoreServer) GetFeatureFlags(context.Context, *GetFeatureFlagsRequest) (*GetFeatureFlagsResponse, error)
- func (UnimplementedCoreServer) GetFluxNamespace(context.Context, *GetFluxNamespaceRequest) (*GetFluxNamespaceResponse, error)
- func (UnimplementedCoreServer) GetObject(context.Context, *GetObjectRequest) (*GetObjectResponse, error)
- func (UnimplementedCoreServer) GetReconciledObjects(context.Context, *GetReconciledObjectsRequest) (*GetReconciledObjectsResponse, error)
- func (UnimplementedCoreServer) GetVersion(context.Context, *GetVersionRequest) (*GetVersionResponse, error)
- func (UnimplementedCoreServer) ListEvents(context.Context, *ListEventsRequest) (*ListEventsResponse, error)
- func (UnimplementedCoreServer) ListFluxCrds(context.Context, *ListFluxCrdsRequest) (*ListFluxCrdsResponse, error)
- func (UnimplementedCoreServer) ListFluxRuntimeObjects(context.Context, *ListFluxRuntimeObjectsRequest) (*ListFluxRuntimeObjectsResponse, error)
- func (UnimplementedCoreServer) ListNamespaces(context.Context, *ListNamespacesRequest) (*ListNamespacesResponse, error)
- func (UnimplementedCoreServer) ListObjects(context.Context, *ListObjectsRequest) (*ListObjectsResponse, error)
- func (UnimplementedCoreServer) SyncFluxObject(context.Context, *SyncFluxObjectRequest) (*SyncFluxObjectResponse, error)
- func (UnimplementedCoreServer) ToggleSuspendResource(context.Context, *ToggleSuspendResourceRequest) (*ToggleSuspendResourceResponse, error)
- type UnsafeCoreServer
- type UnstructuredObject
- func (*UnstructuredObject) Descriptor() ([]byte, []int)deprecated
- func (x *UnstructuredObject) GetClusterName() string
- func (x *UnstructuredObject) GetConditions() []*Condition
- func (x *UnstructuredObject) GetGroupVersionKind() *GroupVersionKind
- func (x *UnstructuredObject) GetImages() []string
- func (x *UnstructuredObject) GetName() string
- func (x *UnstructuredObject) GetNamespace() string
- func (x *UnstructuredObject) GetStatus() string
- func (x *UnstructuredObject) GetSuspended() bool
- 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 ( Kind_name = map[int32]string{ 0: "GitRepository", 1: "Bucket", 2: "HelmRepository", 3: "HelmChart", 4: "Kustomization", 5: "HelmRelease", 6: "Cluster", 7: "OCIRepository", 8: "Provider", 9: "Alert", } Kind_value = map[string]int32{ "GitRepository": 0, "Bucket": 1, "HelmRepository": 2, "HelmChart": 3, "Kustomization": 4, "HelmRelease": 5, "Cluster": 6, "OCIRepository": 7, "Provider": 8, "Alert": 9, } )
Enum value maps for Kind.
var ( HelmRepositoryType_name = map[int32]string{ 0: "Default", 1: "OCI", } HelmRepositoryType_value = map[string]int32{ "Default": 0, "OCI": 1, } )
Enum value maps for HelmRepositoryType.
var Core_ServiceDesc = grpc.ServiceDesc{ ServiceName: "gitops_core.v1.Core", HandlerType: (*CoreServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetObject", Handler: _Core_GetObject_Handler, }, { MethodName: "ListObjects", Handler: _Core_ListObjects_Handler, }, { MethodName: "ListFluxRuntimeObjects", Handler: _Core_ListFluxRuntimeObjects_Handler, }, { MethodName: "ListFluxCrds", Handler: _Core_ListFluxCrds_Handler, }, { MethodName: "GetReconciledObjects", Handler: _Core_GetReconciledObjects_Handler, }, { MethodName: "GetChildObjects", Handler: _Core_GetChildObjects_Handler, }, { MethodName: "GetFluxNamespace", Handler: _Core_GetFluxNamespace_Handler, }, { MethodName: "ListNamespaces", Handler: _Core_ListNamespaces_Handler, }, { MethodName: "ListEvents", Handler: _Core_ListEvents_Handler, }, { MethodName: "SyncFluxObject", Handler: _Core_SyncFluxObject_Handler, }, { MethodName: "GetVersion", Handler: _Core_GetVersion_Handler, }, { MethodName: "GetFeatureFlags", Handler: _Core_GetFeatureFlags_Handler, }, { MethodName: "ToggleSuspendResource", Handler: _Core_ToggleSuspendResource_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "api/core/core.proto", }
Core_ServiceDesc is the grpc.ServiceDesc for Core 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_core_core_proto protoreflect.FileDescriptor
var File_api_core_types_proto protoreflect.FileDescriptor
Functions ¶
func RegisterCoreHandler ¶
RegisterCoreHandler registers the http handlers for service Core to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterCoreHandlerClient ¶
RegisterCoreHandlerClient registers the http handlers for service Core to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "CoreClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "CoreClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "CoreClient" to call the correct interceptors.
func RegisterCoreHandlerFromEndpoint ¶
func RegisterCoreHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterCoreHandlerFromEndpoint is same as RegisterCoreHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterCoreHandlerServer ¶
RegisterCoreHandlerServer registers the http handlers for service Core to "mux". UnaryRPC :call CoreServer 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 RegisterCoreHandlerFromEndpoint instead.
func RegisterCoreServer ¶
func RegisterCoreServer(s grpc.ServiceRegistrar, srv CoreServer)
Types ¶
type Condition ¶
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 string `protobuf:"bytes,5,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // contains filtered or unexported fields }
func (*Condition) Descriptor
deprecated
func (*Condition) GetMessage ¶
func (*Condition) GetTimestamp ¶
func (*Condition) ProtoMessage ¶
func (*Condition) ProtoMessage()
func (*Condition) ProtoReflect ¶
func (x *Condition) ProtoReflect() protoreflect.Message
type CoreClient ¶
type CoreClient interface { // GetObject gets data about a single primary object from a cluster. GetObject(ctx context.Context, in *GetObjectRequest, opts ...grpc.CallOption) (*GetObjectResponse, error) // ListObjects gets data about primary objects. ListObjects(ctx context.Context, in *ListObjectsRequest, opts ...grpc.CallOption) (*ListObjectsResponse, error) // ListFluxRuntimeObjects lists the flux runtime deployments from a cluster. ListFluxRuntimeObjects(ctx context.Context, in *ListFluxRuntimeObjectsRequest, opts ...grpc.CallOption) (*ListFluxRuntimeObjectsResponse, error) ListFluxCrds(ctx context.Context, in *ListFluxCrdsRequest, opts ...grpc.CallOption) (*ListFluxCrdsResponse, error) // GetReconciledObjects returns a list of objects that were created as a result a Flux automation. // This list is derived by looking at the Kustomization or HelmRelease specified in the request body. GetReconciledObjects(ctx context.Context, in *GetReconciledObjectsRequest, opts ...grpc.CallOption) (*GetReconciledObjectsResponse, 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 *GetChildObjectsRequest, opts ...grpc.CallOption) (*GetChildObjectsResponse, error) // GetFluxNamespace returns with a namespace with a specific label. GetFluxNamespace(ctx context.Context, in *GetFluxNamespaceRequest, opts ...grpc.CallOption) (*GetFluxNamespaceResponse, error) // ListNamespaces returns with the list of available namespaces. ListNamespaces(ctx context.Context, in *ListNamespacesRequest, opts ...grpc.CallOption) (*ListNamespacesResponse, error) // ListEvents returns with a list of events ListEvents(ctx context.Context, in *ListEventsRequest, opts ...grpc.CallOption) (*ListEventsResponse, error) // SyncResource forces a reconciliation of a Flux resource SyncFluxObject(ctx context.Context, in *SyncFluxObjectRequest, opts ...grpc.CallOption) (*SyncFluxObjectResponse, error) // GetVersion returns version information about the server GetVersion(ctx context.Context, in *GetVersionRequest, opts ...grpc.CallOption) (*GetVersionResponse, error) // GetFeatureFlags returns configuration information about the server GetFeatureFlags(ctx context.Context, in *GetFeatureFlagsRequest, opts ...grpc.CallOption) (*GetFeatureFlagsResponse, error) // ToggleSuspendResource suspends or resumes a flux object. ToggleSuspendResource(ctx context.Context, in *ToggleSuspendResourceRequest, opts ...grpc.CallOption) (*ToggleSuspendResourceResponse, error) }
CoreClient is the client API for Core 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 NewCoreClient ¶
func NewCoreClient(cc grpc.ClientConnInterface) CoreClient
type CoreServer ¶
type CoreServer interface { // GetObject gets data about a single primary object from a cluster. GetObject(context.Context, *GetObjectRequest) (*GetObjectResponse, error) // ListObjects gets data about primary objects. ListObjects(context.Context, *ListObjectsRequest) (*ListObjectsResponse, error) // ListFluxRuntimeObjects lists the flux runtime deployments from a cluster. ListFluxRuntimeObjects(context.Context, *ListFluxRuntimeObjectsRequest) (*ListFluxRuntimeObjectsResponse, error) ListFluxCrds(context.Context, *ListFluxCrdsRequest) (*ListFluxCrdsResponse, error) // GetReconciledObjects returns a list of objects that were created as a result a Flux automation. // This list is derived by looking at the Kustomization or HelmRelease specified in the request body. GetReconciledObjects(context.Context, *GetReconciledObjectsRequest) (*GetReconciledObjectsResponse, 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, *GetChildObjectsRequest) (*GetChildObjectsResponse, error) // GetFluxNamespace returns with a namespace with a specific label. GetFluxNamespace(context.Context, *GetFluxNamespaceRequest) (*GetFluxNamespaceResponse, error) // ListNamespaces returns with the list of available namespaces. ListNamespaces(context.Context, *ListNamespacesRequest) (*ListNamespacesResponse, error) // ListEvents returns with a list of events ListEvents(context.Context, *ListEventsRequest) (*ListEventsResponse, error) // SyncResource forces a reconciliation of a Flux resource SyncFluxObject(context.Context, *SyncFluxObjectRequest) (*SyncFluxObjectResponse, error) // GetVersion returns version information about the server GetVersion(context.Context, *GetVersionRequest) (*GetVersionResponse, error) // GetFeatureFlags returns configuration information about the server GetFeatureFlags(context.Context, *GetFeatureFlagsRequest) (*GetFeatureFlagsResponse, error) // ToggleSuspendResource suspends or resumes a flux object. ToggleSuspendResource(context.Context, *ToggleSuspendResourceRequest) (*ToggleSuspendResourceResponse, error) // contains filtered or unexported methods }
CoreServer is the server API for Core service. All implementations must embed UnimplementedCoreServer for forward compatibility
type Crd ¶ added in v0.9.2
type Crd struct { Name *Crd_Name `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` Kind string `protobuf:"bytes,3,opt,name=kind,proto3" json:"kind,omitempty"` ClusterName string `protobuf:"bytes,4,opt,name=clusterName,proto3" json:"clusterName,omitempty"` Uid string `protobuf:"bytes,5,opt,name=uid,proto3" json:"uid,omitempty"` // contains filtered or unexported fields }
func (*Crd) Descriptor
deprecated
added in
v0.9.2
func (*Crd) GetClusterName ¶ added in v0.9.2
func (*Crd) GetVersion ¶ added in v0.9.2
func (*Crd) ProtoMessage ¶ added in v0.9.2
func (*Crd) ProtoMessage()
func (*Crd) ProtoReflect ¶ added in v0.9.2
func (x *Crd) ProtoReflect() protoreflect.Message
type Crd_Name ¶ added in v0.9.2
type Crd_Name struct { Plural string `protobuf:"bytes,1,opt,name=plural,proto3" json:"plural,omitempty"` Group string `protobuf:"bytes,2,opt,name=group,proto3" json:"group,omitempty"` // contains filtered or unexported fields }
func (*Crd_Name) Descriptor
deprecated
added in
v0.9.2
func (*Crd_Name) ProtoMessage ¶ added in v0.9.2
func (*Crd_Name) ProtoMessage()
func (*Crd_Name) ProtoReflect ¶ added in v0.9.2
func (x *Crd_Name) ProtoReflect() protoreflect.Message
type Deployment ¶
type Deployment 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"` Conditions []*Condition `protobuf:"bytes,3,rep,name=conditions,proto3" json:"conditions,omitempty"` Images []string `protobuf:"bytes,4,rep,name=images,proto3" json:"images,omitempty"` Suspended bool `protobuf:"varint,5,opt,name=suspended,proto3" json:"suspended,omitempty"` ClusterName string `protobuf:"bytes,6,opt,name=clusterName,proto3" json:"clusterName,omitempty"` Uid string `protobuf:"bytes,7,opt,name=uid,proto3" json:"uid,omitempty"` // contains filtered or unexported fields }
func (*Deployment) Descriptor
deprecated
func (*Deployment) Descriptor() ([]byte, []int)
Deprecated: Use Deployment.ProtoReflect.Descriptor instead.
func (*Deployment) GetClusterName ¶
func (x *Deployment) GetClusterName() string
func (*Deployment) GetConditions ¶
func (x *Deployment) GetConditions() []*Condition
func (*Deployment) GetImages ¶
func (x *Deployment) GetImages() []string
func (*Deployment) GetName ¶
func (x *Deployment) GetName() string
func (*Deployment) GetNamespace ¶
func (x *Deployment) GetNamespace() string
func (*Deployment) GetSuspended ¶
func (x *Deployment) GetSuspended() bool
func (*Deployment) GetUid ¶ added in v0.9.4
func (x *Deployment) GetUid() string
func (*Deployment) ProtoMessage ¶
func (*Deployment) ProtoMessage()
func (*Deployment) ProtoReflect ¶
func (x *Deployment) ProtoReflect() protoreflect.Message
func (*Deployment) Reset ¶
func (x *Deployment) Reset()
func (*Deployment) String ¶
func (x *Deployment) String() string
type Event ¶
type Event struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"` Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` Timestamp string `protobuf:"bytes,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Component string `protobuf:"bytes,5,opt,name=component,proto3" json:"component,omitempty"` Host string `protobuf:"bytes,6,opt,name=host,proto3" json:"host,omitempty"` Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"` Uid string `protobuf:"bytes,8,opt,name=uid,proto3" json:"uid,omitempty"` // contains filtered or unexported fields }
func (*Event) Descriptor
deprecated
func (*Event) GetComponent ¶
func (*Event) GetMessage ¶
func (*Event) GetTimestamp ¶
func (*Event) ProtoMessage ¶
func (*Event) ProtoMessage()
func (*Event) ProtoReflect ¶
func (x *Event) ProtoReflect() protoreflect.Message
type GetChildObjectsRequest ¶
type GetChildObjectsRequest struct { GroupVersionKind *GroupVersionKind `protobuf:"bytes,1,opt,name=groupVersionKind,proto3" json:"groupVersionKind,omitempty"` Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` ParentUid string `protobuf:"bytes,3,opt,name=parentUid,proto3" json:"parentUid,omitempty"` ClusterName string `protobuf:"bytes,4,opt,name=clusterName,proto3" json:"clusterName,omitempty"` // contains filtered or unexported fields }
func (*GetChildObjectsRequest) Descriptor
deprecated
func (*GetChildObjectsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetChildObjectsRequest.ProtoReflect.Descriptor instead.
func (*GetChildObjectsRequest) GetClusterName ¶
func (x *GetChildObjectsRequest) GetClusterName() string
func (*GetChildObjectsRequest) GetGroupVersionKind ¶
func (x *GetChildObjectsRequest) GetGroupVersionKind() *GroupVersionKind
func (*GetChildObjectsRequest) GetNamespace ¶
func (x *GetChildObjectsRequest) GetNamespace() string
func (*GetChildObjectsRequest) GetParentUid ¶
func (x *GetChildObjectsRequest) GetParentUid() string
func (*GetChildObjectsRequest) ProtoMessage ¶
func (*GetChildObjectsRequest) ProtoMessage()
func (*GetChildObjectsRequest) ProtoReflect ¶
func (x *GetChildObjectsRequest) ProtoReflect() protoreflect.Message
func (*GetChildObjectsRequest) Reset ¶
func (x *GetChildObjectsRequest) Reset()
func (*GetChildObjectsRequest) String ¶
func (x *GetChildObjectsRequest) String() string
type GetChildObjectsResponse ¶
type GetChildObjectsResponse struct { Objects []*UnstructuredObject `protobuf:"bytes,1,rep,name=objects,proto3" json:"objects,omitempty"` // contains filtered or unexported fields }
func (*GetChildObjectsResponse) Descriptor
deprecated
func (*GetChildObjectsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetChildObjectsResponse.ProtoReflect.Descriptor instead.
func (*GetChildObjectsResponse) GetObjects ¶
func (x *GetChildObjectsResponse) GetObjects() []*UnstructuredObject
func (*GetChildObjectsResponse) ProtoMessage ¶
func (*GetChildObjectsResponse) ProtoMessage()
func (*GetChildObjectsResponse) ProtoReflect ¶
func (x *GetChildObjectsResponse) ProtoReflect() protoreflect.Message
func (*GetChildObjectsResponse) Reset ¶
func (x *GetChildObjectsResponse) Reset()
func (*GetChildObjectsResponse) String ¶
func (x *GetChildObjectsResponse) String() string
type GetFeatureFlagsRequest ¶ added in v0.8.1
type GetFeatureFlagsRequest struct {
// contains filtered or unexported fields
}
func (*GetFeatureFlagsRequest) Descriptor
deprecated
added in
v0.8.1
func (*GetFeatureFlagsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetFeatureFlagsRequest.ProtoReflect.Descriptor instead.
func (*GetFeatureFlagsRequest) ProtoMessage ¶ added in v0.8.1
func (*GetFeatureFlagsRequest) ProtoMessage()
func (*GetFeatureFlagsRequest) ProtoReflect ¶ added in v0.8.1
func (x *GetFeatureFlagsRequest) ProtoReflect() protoreflect.Message
func (*GetFeatureFlagsRequest) Reset ¶ added in v0.8.1
func (x *GetFeatureFlagsRequest) Reset()
func (*GetFeatureFlagsRequest) String ¶ added in v0.8.1
func (x *GetFeatureFlagsRequest) String() string
type GetFeatureFlagsResponse ¶ added in v0.8.1
type GetFeatureFlagsResponse struct { Flags map[string]string `` /* 151-byte string literal not displayed */ // contains filtered or unexported fields }
func (*GetFeatureFlagsResponse) Descriptor
deprecated
added in
v0.8.1
func (*GetFeatureFlagsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetFeatureFlagsResponse.ProtoReflect.Descriptor instead.
func (*GetFeatureFlagsResponse) GetFlags ¶ added in v0.8.1
func (x *GetFeatureFlagsResponse) GetFlags() map[string]string
func (*GetFeatureFlagsResponse) ProtoMessage ¶ added in v0.8.1
func (*GetFeatureFlagsResponse) ProtoMessage()
func (*GetFeatureFlagsResponse) ProtoReflect ¶ added in v0.8.1
func (x *GetFeatureFlagsResponse) ProtoReflect() protoreflect.Message
func (*GetFeatureFlagsResponse) Reset ¶ added in v0.8.1
func (x *GetFeatureFlagsResponse) Reset()
func (*GetFeatureFlagsResponse) String ¶ added in v0.8.1
func (x *GetFeatureFlagsResponse) String() string
type GetFluxNamespaceRequest ¶
type GetFluxNamespaceRequest struct {
// contains filtered or unexported fields
}
func (*GetFluxNamespaceRequest) Descriptor
deprecated
func (*GetFluxNamespaceRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetFluxNamespaceRequest.ProtoReflect.Descriptor instead.
func (*GetFluxNamespaceRequest) ProtoMessage ¶
func (*GetFluxNamespaceRequest) ProtoMessage()
func (*GetFluxNamespaceRequest) ProtoReflect ¶
func (x *GetFluxNamespaceRequest) ProtoReflect() protoreflect.Message
func (*GetFluxNamespaceRequest) Reset ¶
func (x *GetFluxNamespaceRequest) Reset()
func (*GetFluxNamespaceRequest) String ¶
func (x *GetFluxNamespaceRequest) String() string
type GetFluxNamespaceResponse ¶
type GetFluxNamespaceResponse struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GetFluxNamespaceResponse) Descriptor
deprecated
func (*GetFluxNamespaceResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetFluxNamespaceResponse.ProtoReflect.Descriptor instead.
func (*GetFluxNamespaceResponse) GetName ¶
func (x *GetFluxNamespaceResponse) GetName() string
func (*GetFluxNamespaceResponse) ProtoMessage ¶
func (*GetFluxNamespaceResponse) ProtoMessage()
func (*GetFluxNamespaceResponse) ProtoReflect ¶
func (x *GetFluxNamespaceResponse) ProtoReflect() protoreflect.Message
func (*GetFluxNamespaceResponse) Reset ¶
func (x *GetFluxNamespaceResponse) Reset()
func (*GetFluxNamespaceResponse) String ¶
func (x *GetFluxNamespaceResponse) String() string
type GetObjectRequest ¶ added in v0.9.0
type GetObjectRequest 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"` Kind string `protobuf:"bytes,3,opt,name=kind,proto3" json:"kind,omitempty"` ClusterName string `protobuf:"bytes,4,opt,name=clusterName,proto3" json:"clusterName,omitempty"` // contains filtered or unexported fields }
func (*GetObjectRequest) Descriptor
deprecated
added in
v0.9.0
func (*GetObjectRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetObjectRequest.ProtoReflect.Descriptor instead.
func (*GetObjectRequest) GetClusterName ¶ added in v0.9.0
func (x *GetObjectRequest) GetClusterName() string
func (*GetObjectRequest) GetKind ¶ added in v0.9.0
func (x *GetObjectRequest) GetKind() string
func (*GetObjectRequest) GetName ¶ added in v0.9.0
func (x *GetObjectRequest) GetName() string
func (*GetObjectRequest) GetNamespace ¶ added in v0.9.0
func (x *GetObjectRequest) GetNamespace() string
func (*GetObjectRequest) ProtoMessage ¶ added in v0.9.0
func (*GetObjectRequest) ProtoMessage()
func (*GetObjectRequest) ProtoReflect ¶ added in v0.9.0
func (x *GetObjectRequest) ProtoReflect() protoreflect.Message
func (*GetObjectRequest) Reset ¶ added in v0.9.0
func (x *GetObjectRequest) Reset()
func (*GetObjectRequest) String ¶ added in v0.9.0
func (x *GetObjectRequest) String() string
type GetObjectResponse ¶ added in v0.9.0
type GetObjectResponse struct { Object *Object `protobuf:"bytes,1,opt,name=object,proto3" json:"object,omitempty"` // contains filtered or unexported fields }
func (*GetObjectResponse) Descriptor
deprecated
added in
v0.9.0
func (*GetObjectResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetObjectResponse.ProtoReflect.Descriptor instead.
func (*GetObjectResponse) GetObject ¶ added in v0.9.0
func (x *GetObjectResponse) GetObject() *Object
func (*GetObjectResponse) ProtoMessage ¶ added in v0.9.0
func (*GetObjectResponse) ProtoMessage()
func (*GetObjectResponse) ProtoReflect ¶ added in v0.9.0
func (x *GetObjectResponse) ProtoReflect() protoreflect.Message
func (*GetObjectResponse) Reset ¶ added in v0.9.0
func (x *GetObjectResponse) Reset()
func (*GetObjectResponse) String ¶ added in v0.9.0
func (x *GetObjectResponse) String() string
type GetReconciledObjectsRequest ¶
type GetReconciledObjectsRequest struct { AutomationName string `protobuf:"bytes,1,opt,name=automationName,proto3" json:"automationName,omitempty"` Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` AutomationKind string `protobuf:"bytes,3,opt,name=automationKind,proto3" json:"automationKind,omitempty"` Kinds []*GroupVersionKind `protobuf:"bytes,4,rep,name=kinds,proto3" json:"kinds,omitempty"` ClusterName string `protobuf:"bytes,5,opt,name=clusterName,proto3" json:"clusterName,omitempty"` // contains filtered or unexported fields }
func (*GetReconciledObjectsRequest) Descriptor
deprecated
func (*GetReconciledObjectsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetReconciledObjectsRequest.ProtoReflect.Descriptor instead.
func (*GetReconciledObjectsRequest) GetAutomationKind ¶
func (x *GetReconciledObjectsRequest) GetAutomationKind() string
func (*GetReconciledObjectsRequest) GetAutomationName ¶
func (x *GetReconciledObjectsRequest) GetAutomationName() string
func (*GetReconciledObjectsRequest) GetClusterName ¶
func (x *GetReconciledObjectsRequest) GetClusterName() string
func (*GetReconciledObjectsRequest) GetKinds ¶
func (x *GetReconciledObjectsRequest) GetKinds() []*GroupVersionKind
func (*GetReconciledObjectsRequest) GetNamespace ¶
func (x *GetReconciledObjectsRequest) GetNamespace() string
func (*GetReconciledObjectsRequest) ProtoMessage ¶
func (*GetReconciledObjectsRequest) ProtoMessage()
func (*GetReconciledObjectsRequest) ProtoReflect ¶
func (x *GetReconciledObjectsRequest) ProtoReflect() protoreflect.Message
func (*GetReconciledObjectsRequest) Reset ¶
func (x *GetReconciledObjectsRequest) Reset()
func (*GetReconciledObjectsRequest) String ¶
func (x *GetReconciledObjectsRequest) String() string
type GetReconciledObjectsResponse ¶
type GetReconciledObjectsResponse struct { Objects []*UnstructuredObject `protobuf:"bytes,1,rep,name=objects,proto3" json:"objects,omitempty"` // contains filtered or unexported fields }
func (*GetReconciledObjectsResponse) Descriptor
deprecated
func (*GetReconciledObjectsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetReconciledObjectsResponse.ProtoReflect.Descriptor instead.
func (*GetReconciledObjectsResponse) GetObjects ¶
func (x *GetReconciledObjectsResponse) GetObjects() []*UnstructuredObject
func (*GetReconciledObjectsResponse) ProtoMessage ¶
func (*GetReconciledObjectsResponse) ProtoMessage()
func (*GetReconciledObjectsResponse) ProtoReflect ¶
func (x *GetReconciledObjectsResponse) ProtoReflect() protoreflect.Message
func (*GetReconciledObjectsResponse) Reset ¶
func (x *GetReconciledObjectsResponse) Reset()
func (*GetReconciledObjectsResponse) String ¶
func (x *GetReconciledObjectsResponse) String() string
type GetVersionRequest ¶ added in v0.8.1
type GetVersionRequest struct {
// contains filtered or unexported fields
}
func (*GetVersionRequest) Descriptor
deprecated
added in
v0.8.1
func (*GetVersionRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetVersionRequest.ProtoReflect.Descriptor instead.
func (*GetVersionRequest) ProtoMessage ¶ added in v0.8.1
func (*GetVersionRequest) ProtoMessage()
func (*GetVersionRequest) ProtoReflect ¶ added in v0.8.1
func (x *GetVersionRequest) ProtoReflect() protoreflect.Message
func (*GetVersionRequest) Reset ¶ added in v0.8.1
func (x *GetVersionRequest) Reset()
func (*GetVersionRequest) String ¶ added in v0.8.1
func (x *GetVersionRequest) String() string
type GetVersionResponse ¶ added in v0.8.1
type GetVersionResponse struct { Semver string `protobuf:"bytes,1,opt,name=semver,proto3" json:"semver,omitempty"` Commit string `protobuf:"bytes,2,opt,name=commit,proto3" json:"commit,omitempty"` Branch string `protobuf:"bytes,3,opt,name=branch,proto3" json:"branch,omitempty"` BuildTime string `protobuf:"bytes,4,opt,name=buildTime,proto3" json:"buildTime,omitempty"` FluxVersion string `protobuf:"bytes,5,opt,name=fluxVersion,proto3" json:"fluxVersion,omitempty"` KubeVersion string `protobuf:"bytes,6,opt,name=kubeVersion,proto3" json:"kubeVersion,omitempty"` // contains filtered or unexported fields }
func (*GetVersionResponse) Descriptor
deprecated
added in
v0.8.1
func (*GetVersionResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetVersionResponse.ProtoReflect.Descriptor instead.
func (*GetVersionResponse) GetBranch ¶ added in v0.8.1
func (x *GetVersionResponse) GetBranch() string
func (*GetVersionResponse) GetBuildTime ¶ added in v0.8.1
func (x *GetVersionResponse) GetBuildTime() string
func (*GetVersionResponse) GetCommit ¶ added in v0.8.1
func (x *GetVersionResponse) GetCommit() string
func (*GetVersionResponse) GetFluxVersion ¶ added in v0.9.1
func (x *GetVersionResponse) GetFluxVersion() string
func (*GetVersionResponse) GetKubeVersion ¶ added in v0.9.1
func (x *GetVersionResponse) GetKubeVersion() string
func (*GetVersionResponse) GetSemver ¶ added in v0.8.1
func (x *GetVersionResponse) GetSemver() string
func (*GetVersionResponse) ProtoMessage ¶ added in v0.8.1
func (*GetVersionResponse) ProtoMessage()
func (*GetVersionResponse) ProtoReflect ¶ added in v0.8.1
func (x *GetVersionResponse) ProtoReflect() protoreflect.Message
func (*GetVersionResponse) Reset ¶ added in v0.8.1
func (x *GetVersionResponse) Reset()
func (*GetVersionResponse) String ¶ added in v0.8.1
func (x *GetVersionResponse) String() string
type GitRepositoryRef ¶
type GitRepositoryRef struct { Branch string `protobuf:"bytes,1,opt,name=branch,proto3" json:"branch,omitempty"` Tag string `protobuf:"bytes,2,opt,name=tag,proto3" json:"tag,omitempty"` Semver string `protobuf:"bytes,3,opt,name=semver,proto3" json:"semver,omitempty"` Commit string `protobuf:"bytes,4,opt,name=commit,proto3" json:"commit,omitempty"` // contains filtered or unexported fields }
func (*GitRepositoryRef) Descriptor
deprecated
func (*GitRepositoryRef) Descriptor() ([]byte, []int)
Deprecated: Use GitRepositoryRef.ProtoReflect.Descriptor instead.
func (*GitRepositoryRef) GetBranch ¶
func (x *GitRepositoryRef) GetBranch() string
func (*GitRepositoryRef) GetCommit ¶
func (x *GitRepositoryRef) GetCommit() string
func (*GitRepositoryRef) GetSemver ¶
func (x *GitRepositoryRef) GetSemver() string
func (*GitRepositoryRef) GetTag ¶
func (x *GitRepositoryRef) GetTag() string
func (*GitRepositoryRef) ProtoMessage ¶
func (*GitRepositoryRef) ProtoMessage()
func (*GitRepositoryRef) ProtoReflect ¶
func (x *GitRepositoryRef) ProtoReflect() protoreflect.Message
func (*GitRepositoryRef) Reset ¶
func (x *GitRepositoryRef) Reset()
func (*GitRepositoryRef) String ¶
func (x *GitRepositoryRef) String() string
type GroupVersionKind ¶
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
func (*GroupVersionKind) Descriptor() ([]byte, []int)
Deprecated: Use GroupVersionKind.ProtoReflect.Descriptor instead.
func (*GroupVersionKind) GetGroup ¶
func (x *GroupVersionKind) GetGroup() string
func (*GroupVersionKind) GetKind ¶
func (x *GroupVersionKind) GetKind() string
func (*GroupVersionKind) GetVersion ¶
func (x *GroupVersionKind) GetVersion() string
func (*GroupVersionKind) ProtoMessage ¶
func (*GroupVersionKind) ProtoMessage()
func (*GroupVersionKind) ProtoReflect ¶
func (x *GroupVersionKind) ProtoReflect() protoreflect.Message
func (*GroupVersionKind) Reset ¶
func (x *GroupVersionKind) Reset()
func (*GroupVersionKind) String ¶
func (x *GroupVersionKind) String() string
type HelmRepositoryType ¶ added in v0.9.1
type HelmRepositoryType int32
const ( HelmRepositoryType_Default HelmRepositoryType = 0 HelmRepositoryType_OCI HelmRepositoryType = 1 )
func (HelmRepositoryType) Descriptor ¶ added in v0.9.1
func (HelmRepositoryType) Descriptor() protoreflect.EnumDescriptor
func (HelmRepositoryType) Enum ¶ added in v0.9.1
func (x HelmRepositoryType) Enum() *HelmRepositoryType
func (HelmRepositoryType) EnumDescriptor
deprecated
added in
v0.9.1
func (HelmRepositoryType) EnumDescriptor() ([]byte, []int)
Deprecated: Use HelmRepositoryType.Descriptor instead.
func (HelmRepositoryType) Number ¶ added in v0.9.1
func (x HelmRepositoryType) Number() protoreflect.EnumNumber
func (HelmRepositoryType) String ¶ added in v0.9.1
func (x HelmRepositoryType) String() string
func (HelmRepositoryType) Type ¶ added in v0.9.1
func (HelmRepositoryType) Type() protoreflect.EnumType
type Interval ¶
type Interval struct { Hours int64 `protobuf:"varint,1,opt,name=hours,proto3" json:"hours,omitempty"` Minutes int64 `protobuf:"varint,2,opt,name=minutes,proto3" json:"minutes,omitempty"` Seconds int64 `protobuf:"varint,3,opt,name=seconds,proto3" json:"seconds,omitempty"` // contains filtered or unexported fields }
func (*Interval) Descriptor
deprecated
func (*Interval) GetMinutes ¶
func (*Interval) GetSeconds ¶
func (*Interval) ProtoMessage ¶
func (*Interval) ProtoMessage()
func (*Interval) ProtoReflect ¶
func (x *Interval) ProtoReflect() protoreflect.Message
type Kind ¶ added in v0.9.6
type Kind int32
func (Kind) Descriptor ¶ added in v0.9.6
func (Kind) Descriptor() protoreflect.EnumDescriptor
func (Kind) EnumDescriptor
deprecated
added in
v0.9.6
func (Kind) Number ¶ added in v0.9.6
func (x Kind) Number() protoreflect.EnumNumber
func (Kind) Type ¶ added in v0.9.6
func (Kind) Type() protoreflect.EnumType
type ListError ¶ added in v0.8.1
type ListError struct { ClusterName string `protobuf:"bytes,1,opt,name=clusterName,proto3" json:"clusterName,omitempty"` Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*ListError) Descriptor
deprecated
added in
v0.8.1
func (*ListError) GetClusterName ¶ added in v0.8.1
func (*ListError) GetMessage ¶ added in v0.8.1
func (*ListError) GetNamespace ¶ added in v0.8.1
func (*ListError) ProtoMessage ¶ added in v0.8.1
func (*ListError) ProtoMessage()
func (*ListError) ProtoReflect ¶ added in v0.8.1
func (x *ListError) ProtoReflect() protoreflect.Message
type ListEventsRequest ¶ added in v0.9.1
type ListEventsRequest struct { InvolvedObject *ObjectRef `protobuf:"bytes,1,opt,name=involvedObject,proto3" json:"involvedObject,omitempty"` // contains filtered or unexported fields }
func (*ListEventsRequest) Descriptor
deprecated
added in
v0.9.1
func (*ListEventsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListEventsRequest.ProtoReflect.Descriptor instead.
func (*ListEventsRequest) GetInvolvedObject ¶ added in v0.9.1
func (x *ListEventsRequest) GetInvolvedObject() *ObjectRef
func (*ListEventsRequest) ProtoMessage ¶ added in v0.9.1
func (*ListEventsRequest) ProtoMessage()
func (*ListEventsRequest) ProtoReflect ¶ added in v0.9.1
func (x *ListEventsRequest) ProtoReflect() protoreflect.Message
func (*ListEventsRequest) Reset ¶ added in v0.9.1
func (x *ListEventsRequest) Reset()
func (*ListEventsRequest) String ¶ added in v0.9.1
func (x *ListEventsRequest) String() string
type ListEventsResponse ¶ added in v0.9.1
type ListEventsResponse struct { Events []*Event `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"` // contains filtered or unexported fields }
func (*ListEventsResponse) Descriptor
deprecated
added in
v0.9.1
func (*ListEventsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListEventsResponse.ProtoReflect.Descriptor instead.
func (*ListEventsResponse) GetEvents ¶ added in v0.9.1
func (x *ListEventsResponse) GetEvents() []*Event
func (*ListEventsResponse) ProtoMessage ¶ added in v0.9.1
func (*ListEventsResponse) ProtoMessage()
func (*ListEventsResponse) ProtoReflect ¶ added in v0.9.1
func (x *ListEventsResponse) ProtoReflect() protoreflect.Message
func (*ListEventsResponse) Reset ¶ added in v0.9.1
func (x *ListEventsResponse) Reset()
func (*ListEventsResponse) String ¶ added in v0.9.1
func (x *ListEventsResponse) String() string
type ListFluxCrdsRequest ¶ added in v0.9.2
type ListFluxCrdsRequest struct { ClusterName string `protobuf:"bytes,1,opt,name=clusterName,proto3" json:"clusterName,omitempty"` // contains filtered or unexported fields }
func (*ListFluxCrdsRequest) Descriptor
deprecated
added in
v0.9.2
func (*ListFluxCrdsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListFluxCrdsRequest.ProtoReflect.Descriptor instead.
func (*ListFluxCrdsRequest) GetClusterName ¶ added in v0.9.2
func (x *ListFluxCrdsRequest) GetClusterName() string
func (*ListFluxCrdsRequest) ProtoMessage ¶ added in v0.9.2
func (*ListFluxCrdsRequest) ProtoMessage()
func (*ListFluxCrdsRequest) ProtoReflect ¶ added in v0.9.2
func (x *ListFluxCrdsRequest) ProtoReflect() protoreflect.Message
func (*ListFluxCrdsRequest) Reset ¶ added in v0.9.2
func (x *ListFluxCrdsRequest) Reset()
func (*ListFluxCrdsRequest) String ¶ added in v0.9.2
func (x *ListFluxCrdsRequest) String() string
type ListFluxCrdsResponse ¶ added in v0.9.2
type ListFluxCrdsResponse struct { Crds []*Crd `protobuf:"bytes,1,rep,name=crds,proto3" json:"crds,omitempty"` Errors []*ListError `protobuf:"bytes,2,rep,name=errors,proto3" json:"errors,omitempty"` // contains filtered or unexported fields }
func (*ListFluxCrdsResponse) Descriptor
deprecated
added in
v0.9.2
func (*ListFluxCrdsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListFluxCrdsResponse.ProtoReflect.Descriptor instead.
func (*ListFluxCrdsResponse) GetCrds ¶ added in v0.9.2
func (x *ListFluxCrdsResponse) GetCrds() []*Crd
func (*ListFluxCrdsResponse) GetErrors ¶ added in v0.9.2
func (x *ListFluxCrdsResponse) GetErrors() []*ListError
func (*ListFluxCrdsResponse) ProtoMessage ¶ added in v0.9.2
func (*ListFluxCrdsResponse) ProtoMessage()
func (*ListFluxCrdsResponse) ProtoReflect ¶ added in v0.9.2
func (x *ListFluxCrdsResponse) ProtoReflect() protoreflect.Message
func (*ListFluxCrdsResponse) Reset ¶ added in v0.9.2
func (x *ListFluxCrdsResponse) Reset()
func (*ListFluxCrdsResponse) String ¶ added in v0.9.2
func (x *ListFluxCrdsResponse) String() string
type ListFluxRuntimeObjectsRequest ¶
type ListFluxRuntimeObjectsRequest struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` ClusterName string `protobuf:"bytes,2,opt,name=clusterName,proto3" json:"clusterName,omitempty"` // contains filtered or unexported fields }
func (*ListFluxRuntimeObjectsRequest) Descriptor
deprecated
func (*ListFluxRuntimeObjectsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListFluxRuntimeObjectsRequest.ProtoReflect.Descriptor instead.
func (*ListFluxRuntimeObjectsRequest) GetClusterName ¶
func (x *ListFluxRuntimeObjectsRequest) GetClusterName() string
func (*ListFluxRuntimeObjectsRequest) GetNamespace ¶
func (x *ListFluxRuntimeObjectsRequest) GetNamespace() string
func (*ListFluxRuntimeObjectsRequest) ProtoMessage ¶
func (*ListFluxRuntimeObjectsRequest) ProtoMessage()
func (*ListFluxRuntimeObjectsRequest) ProtoReflect ¶
func (x *ListFluxRuntimeObjectsRequest) ProtoReflect() protoreflect.Message
func (*ListFluxRuntimeObjectsRequest) Reset ¶
func (x *ListFluxRuntimeObjectsRequest) Reset()
func (*ListFluxRuntimeObjectsRequest) String ¶
func (x *ListFluxRuntimeObjectsRequest) String() string
type ListFluxRuntimeObjectsResponse ¶
type ListFluxRuntimeObjectsResponse struct { Deployments []*Deployment `protobuf:"bytes,1,rep,name=deployments,proto3" json:"deployments,omitempty"` Errors []*ListError `protobuf:"bytes,2,rep,name=errors,proto3" json:"errors,omitempty"` // contains filtered or unexported fields }
func (*ListFluxRuntimeObjectsResponse) Descriptor
deprecated
func (*ListFluxRuntimeObjectsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListFluxRuntimeObjectsResponse.ProtoReflect.Descriptor instead.
func (*ListFluxRuntimeObjectsResponse) GetDeployments ¶
func (x *ListFluxRuntimeObjectsResponse) GetDeployments() []*Deployment
func (*ListFluxRuntimeObjectsResponse) GetErrors ¶ added in v0.8.1
func (x *ListFluxRuntimeObjectsResponse) GetErrors() []*ListError
func (*ListFluxRuntimeObjectsResponse) ProtoMessage ¶
func (*ListFluxRuntimeObjectsResponse) ProtoMessage()
func (*ListFluxRuntimeObjectsResponse) ProtoReflect ¶
func (x *ListFluxRuntimeObjectsResponse) ProtoReflect() protoreflect.Message
func (*ListFluxRuntimeObjectsResponse) Reset ¶
func (x *ListFluxRuntimeObjectsResponse) Reset()
func (*ListFluxRuntimeObjectsResponse) String ¶
func (x *ListFluxRuntimeObjectsResponse) String() string
type ListNamespacesRequest ¶
type ListNamespacesRequest struct {
// contains filtered or unexported fields
}
func (*ListNamespacesRequest) Descriptor
deprecated
func (*ListNamespacesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListNamespacesRequest.ProtoReflect.Descriptor instead.
func (*ListNamespacesRequest) ProtoMessage ¶
func (*ListNamespacesRequest) ProtoMessage()
func (*ListNamespacesRequest) ProtoReflect ¶
func (x *ListNamespacesRequest) ProtoReflect() protoreflect.Message
func (*ListNamespacesRequest) Reset ¶
func (x *ListNamespacesRequest) Reset()
func (*ListNamespacesRequest) String ¶
func (x *ListNamespacesRequest) String() string
type ListNamespacesResponse ¶
type ListNamespacesResponse struct { Namespaces []*Namespace `protobuf:"bytes,1,rep,name=namespaces,proto3" json:"namespaces,omitempty"` // contains filtered or unexported fields }
func (*ListNamespacesResponse) Descriptor
deprecated
func (*ListNamespacesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListNamespacesResponse.ProtoReflect.Descriptor instead.
func (*ListNamespacesResponse) GetNamespaces ¶
func (x *ListNamespacesResponse) GetNamespaces() []*Namespace
func (*ListNamespacesResponse) ProtoMessage ¶
func (*ListNamespacesResponse) ProtoMessage()
func (*ListNamespacesResponse) ProtoReflect ¶
func (x *ListNamespacesResponse) ProtoReflect() protoreflect.Message
func (*ListNamespacesResponse) Reset ¶
func (x *ListNamespacesResponse) Reset()
func (*ListNamespacesResponse) String ¶
func (x *ListNamespacesResponse) String() string
type ListObjectsRequest ¶ added in v0.9.4
type ListObjectsRequest struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"` ClusterName string `protobuf:"bytes,3,opt,name=clusterName,proto3" json:"clusterName,omitempty"` // contains filtered or unexported fields }
func (*ListObjectsRequest) Descriptor
deprecated
added in
v0.9.4
func (*ListObjectsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListObjectsRequest.ProtoReflect.Descriptor instead.
func (*ListObjectsRequest) GetClusterName ¶ added in v0.9.5
func (x *ListObjectsRequest) GetClusterName() string
func (*ListObjectsRequest) GetKind ¶ added in v0.9.4
func (x *ListObjectsRequest) GetKind() string
func (*ListObjectsRequest) GetNamespace ¶ added in v0.9.4
func (x *ListObjectsRequest) GetNamespace() string
func (*ListObjectsRequest) ProtoMessage ¶ added in v0.9.4
func (*ListObjectsRequest) ProtoMessage()
func (*ListObjectsRequest) ProtoReflect ¶ added in v0.9.4
func (x *ListObjectsRequest) ProtoReflect() protoreflect.Message
func (*ListObjectsRequest) Reset ¶ added in v0.9.4
func (x *ListObjectsRequest) Reset()
func (*ListObjectsRequest) String ¶ added in v0.9.4
func (x *ListObjectsRequest) String() string
type ListObjectsResponse ¶ added in v0.9.4
type ListObjectsResponse struct { Objects []*Object `protobuf:"bytes,1,rep,name=objects,proto3" json:"objects,omitempty"` Errors []*ListError `protobuf:"bytes,2,rep,name=errors,proto3" json:"errors,omitempty"` // contains filtered or unexported fields }
func (*ListObjectsResponse) Descriptor
deprecated
added in
v0.9.4
func (*ListObjectsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListObjectsResponse.ProtoReflect.Descriptor instead.
func (*ListObjectsResponse) GetErrors ¶ added in v0.9.4
func (x *ListObjectsResponse) GetErrors() []*ListError
func (*ListObjectsResponse) GetObjects ¶ added in v0.9.4
func (x *ListObjectsResponse) GetObjects() []*Object
func (*ListObjectsResponse) ProtoMessage ¶ added in v0.9.4
func (*ListObjectsResponse) ProtoMessage()
func (*ListObjectsResponse) ProtoReflect ¶ added in v0.9.4
func (x *ListObjectsResponse) ProtoReflect() protoreflect.Message
func (*ListObjectsResponse) Reset ¶ added in v0.9.4
func (x *ListObjectsResponse) Reset()
func (*ListObjectsResponse) String ¶ added in v0.9.4
func (x *ListObjectsResponse) String() string
type Namespace ¶
type Namespace struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` Annotations map[string]string `` /* 163-byte string literal not displayed */ Labels map[string]string `` /* 153-byte string literal not displayed */ ClusterName string `protobuf:"bytes,5,opt,name=clusterName,proto3" json:"clusterName,omitempty"` // contains filtered or unexported fields }
func (*Namespace) Descriptor
deprecated
func (*Namespace) GetAnnotations ¶
func (*Namespace) GetClusterName ¶
func (*Namespace) ProtoMessage ¶
func (*Namespace) ProtoMessage()
func (*Namespace) ProtoReflect ¶
func (x *Namespace) ProtoReflect() protoreflect.Message
type NamespacedObjectReference ¶ added in v0.9.5
type NamespacedObjectReference 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"` // contains filtered or unexported fields }
func (*NamespacedObjectReference) Descriptor
deprecated
added in
v0.9.5
func (*NamespacedObjectReference) Descriptor() ([]byte, []int)
Deprecated: Use NamespacedObjectReference.ProtoReflect.Descriptor instead.
func (*NamespacedObjectReference) GetName ¶ added in v0.9.5
func (x *NamespacedObjectReference) GetName() string
func (*NamespacedObjectReference) GetNamespace ¶ added in v0.9.5
func (x *NamespacedObjectReference) GetNamespace() string
func (*NamespacedObjectReference) ProtoMessage ¶ added in v0.9.5
func (*NamespacedObjectReference) ProtoMessage()
func (*NamespacedObjectReference) ProtoReflect ¶ added in v0.9.5
func (x *NamespacedObjectReference) ProtoReflect() protoreflect.Message
func (*NamespacedObjectReference) Reset ¶ added in v0.9.5
func (x *NamespacedObjectReference) Reset()
func (*NamespacedObjectReference) String ¶ added in v0.9.5
func (x *NamespacedObjectReference) String() string
type Object ¶ added in v0.9.0
type Object struct { Payload string `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"` ClusterName string `protobuf:"bytes,2,opt,name=clusterName,proto3" json:"clusterName,omitempty"` Tenant string `protobuf:"bytes,3,opt,name=tenant,proto3" json:"tenant,omitempty"` Uid string `protobuf:"bytes,4,opt,name=uid,proto3" json:"uid,omitempty"` Inventory []*GroupVersionKind `protobuf:"bytes,5,rep,name=inventory,proto3" json:"inventory,omitempty"` // contains filtered or unexported fields }
func (*Object) Descriptor
deprecated
added in
v0.9.0
func (*Object) GetClusterName ¶ added in v0.9.0
func (*Object) GetInventory ¶ added in v0.9.6
func (x *Object) GetInventory() []*GroupVersionKind
func (*Object) GetPayload ¶ added in v0.9.0
func (*Object) ProtoMessage ¶ added in v0.9.0
func (*Object) ProtoMessage()
func (*Object) ProtoReflect ¶ added in v0.9.0
func (x *Object) ProtoReflect() protoreflect.Message
type ObjectRef ¶ added in v0.8.1
type ObjectRef struct { Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,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"` ClusterName string `protobuf:"bytes,4,opt,name=clusterName,proto3" json:"clusterName,omitempty"` // contains filtered or unexported fields }
func (*ObjectRef) Descriptor
deprecated
added in
v0.8.1
func (*ObjectRef) GetClusterName ¶ added in v0.9.6
func (*ObjectRef) GetNamespace ¶ added in v0.8.1
func (*ObjectRef) ProtoMessage ¶ added in v0.8.1
func (*ObjectRef) ProtoMessage()
func (*ObjectRef) ProtoReflect ¶ added in v0.8.1
func (x *ObjectRef) ProtoReflect() protoreflect.Message
type Pagination ¶ added in v0.8.0
type Pagination struct { PageSize int32 `protobuf:"varint,1,opt,name=pageSize,proto3" json:"pageSize,omitempty"` PageToken string `protobuf:"bytes,2,opt,name=pageToken,proto3" json:"pageToken,omitempty"` // contains filtered or unexported fields }
func (*Pagination) Descriptor
deprecated
added in
v0.8.0
func (*Pagination) Descriptor() ([]byte, []int)
Deprecated: Use Pagination.ProtoReflect.Descriptor instead.
func (*Pagination) GetPageSize ¶ added in v0.8.0
func (x *Pagination) GetPageSize() int32
func (*Pagination) GetPageToken ¶ added in v0.8.0
func (x *Pagination) GetPageToken() string
func (*Pagination) ProtoMessage ¶ added in v0.8.0
func (*Pagination) ProtoMessage()
func (*Pagination) ProtoReflect ¶ added in v0.8.0
func (x *Pagination) ProtoReflect() protoreflect.Message
func (*Pagination) Reset ¶ added in v0.8.0
func (x *Pagination) Reset()
func (*Pagination) String ¶ added in v0.8.0
func (x *Pagination) String() string
type SyncFluxObjectRequest ¶ added in v0.9.0
type SyncFluxObjectRequest struct { Objects []*ObjectRef `protobuf:"bytes,1,rep,name=objects,proto3" json:"objects,omitempty"` WithSource bool `protobuf:"varint,2,opt,name=withSource,proto3" json:"withSource,omitempty"` // contains filtered or unexported fields }
func (*SyncFluxObjectRequest) Descriptor
deprecated
added in
v0.9.0
func (*SyncFluxObjectRequest) Descriptor() ([]byte, []int)
Deprecated: Use SyncFluxObjectRequest.ProtoReflect.Descriptor instead.
func (*SyncFluxObjectRequest) GetObjects ¶ added in v0.9.5
func (x *SyncFluxObjectRequest) GetObjects() []*ObjectRef
func (*SyncFluxObjectRequest) GetWithSource ¶ added in v0.9.0
func (x *SyncFluxObjectRequest) GetWithSource() bool
func (*SyncFluxObjectRequest) ProtoMessage ¶ added in v0.9.0
func (*SyncFluxObjectRequest) ProtoMessage()
func (*SyncFluxObjectRequest) ProtoReflect ¶ added in v0.9.0
func (x *SyncFluxObjectRequest) ProtoReflect() protoreflect.Message
func (*SyncFluxObjectRequest) Reset ¶ added in v0.9.0
func (x *SyncFluxObjectRequest) Reset()
func (*SyncFluxObjectRequest) String ¶ added in v0.9.0
func (x *SyncFluxObjectRequest) String() string
type SyncFluxObjectResponse ¶ added in v0.9.0
type SyncFluxObjectResponse struct {
// contains filtered or unexported fields
}
func (*SyncFluxObjectResponse) Descriptor
deprecated
added in
v0.9.0
func (*SyncFluxObjectResponse) Descriptor() ([]byte, []int)
Deprecated: Use SyncFluxObjectResponse.ProtoReflect.Descriptor instead.
func (*SyncFluxObjectResponse) ProtoMessage ¶ added in v0.9.0
func (*SyncFluxObjectResponse) ProtoMessage()
func (*SyncFluxObjectResponse) ProtoReflect ¶ added in v0.9.0
func (x *SyncFluxObjectResponse) ProtoReflect() protoreflect.Message
func (*SyncFluxObjectResponse) Reset ¶ added in v0.9.0
func (x *SyncFluxObjectResponse) Reset()
func (*SyncFluxObjectResponse) String ¶ added in v0.9.0
func (x *SyncFluxObjectResponse) String() string
type ToggleSuspendResourceRequest ¶ added in v0.8.1
type ToggleSuspendResourceRequest struct { Objects []*ObjectRef `protobuf:"bytes,1,rep,name=objects,proto3" json:"objects,omitempty"` Suspend bool `protobuf:"varint,2,opt,name=suspend,proto3" json:"suspend,omitempty"` // contains filtered or unexported fields }
func (*ToggleSuspendResourceRequest) Descriptor
deprecated
added in
v0.8.1
func (*ToggleSuspendResourceRequest) Descriptor() ([]byte, []int)
Deprecated: Use ToggleSuspendResourceRequest.ProtoReflect.Descriptor instead.
func (*ToggleSuspendResourceRequest) GetObjects ¶ added in v0.9.4
func (x *ToggleSuspendResourceRequest) GetObjects() []*ObjectRef
func (*ToggleSuspendResourceRequest) GetSuspend ¶ added in v0.8.1
func (x *ToggleSuspendResourceRequest) GetSuspend() bool
func (*ToggleSuspendResourceRequest) ProtoMessage ¶ added in v0.8.1
func (*ToggleSuspendResourceRequest) ProtoMessage()
func (*ToggleSuspendResourceRequest) ProtoReflect ¶ added in v0.8.1
func (x *ToggleSuspendResourceRequest) ProtoReflect() protoreflect.Message
func (*ToggleSuspendResourceRequest) Reset ¶ added in v0.8.1
func (x *ToggleSuspendResourceRequest) Reset()
func (*ToggleSuspendResourceRequest) String ¶ added in v0.8.1
func (x *ToggleSuspendResourceRequest) String() string
type ToggleSuspendResourceResponse ¶ added in v0.8.1
type ToggleSuspendResourceResponse struct {
// contains filtered or unexported fields
}
func (*ToggleSuspendResourceResponse) Descriptor
deprecated
added in
v0.8.1
func (*ToggleSuspendResourceResponse) Descriptor() ([]byte, []int)
Deprecated: Use ToggleSuspendResourceResponse.ProtoReflect.Descriptor instead.
func (*ToggleSuspendResourceResponse) ProtoMessage ¶ added in v0.8.1
func (*ToggleSuspendResourceResponse) ProtoMessage()
func (*ToggleSuspendResourceResponse) ProtoReflect ¶ added in v0.8.1
func (x *ToggleSuspendResourceResponse) ProtoReflect() protoreflect.Message
func (*ToggleSuspendResourceResponse) Reset ¶ added in v0.8.1
func (x *ToggleSuspendResourceResponse) Reset()
func (*ToggleSuspendResourceResponse) String ¶ added in v0.8.1
func (x *ToggleSuspendResourceResponse) String() string
type UnimplementedCoreServer ¶
type UnimplementedCoreServer struct { }
UnimplementedCoreServer must be embedded to have forward compatible implementations.
func (UnimplementedCoreServer) GetChildObjects ¶
func (UnimplementedCoreServer) GetChildObjects(context.Context, *GetChildObjectsRequest) (*GetChildObjectsResponse, error)
func (UnimplementedCoreServer) GetFeatureFlags ¶ added in v0.8.1
func (UnimplementedCoreServer) GetFeatureFlags(context.Context, *GetFeatureFlagsRequest) (*GetFeatureFlagsResponse, error)
func (UnimplementedCoreServer) GetFluxNamespace ¶
func (UnimplementedCoreServer) GetFluxNamespace(context.Context, *GetFluxNamespaceRequest) (*GetFluxNamespaceResponse, error)
func (UnimplementedCoreServer) GetObject ¶ added in v0.9.0
func (UnimplementedCoreServer) GetObject(context.Context, *GetObjectRequest) (*GetObjectResponse, error)
func (UnimplementedCoreServer) GetReconciledObjects ¶
func (UnimplementedCoreServer) GetReconciledObjects(context.Context, *GetReconciledObjectsRequest) (*GetReconciledObjectsResponse, error)
func (UnimplementedCoreServer) GetVersion ¶ added in v0.8.1
func (UnimplementedCoreServer) GetVersion(context.Context, *GetVersionRequest) (*GetVersionResponse, error)
func (UnimplementedCoreServer) ListEvents ¶ added in v0.9.1
func (UnimplementedCoreServer) ListEvents(context.Context, *ListEventsRequest) (*ListEventsResponse, error)
func (UnimplementedCoreServer) ListFluxCrds ¶ added in v0.9.2
func (UnimplementedCoreServer) ListFluxCrds(context.Context, *ListFluxCrdsRequest) (*ListFluxCrdsResponse, error)
func (UnimplementedCoreServer) ListFluxRuntimeObjects ¶
func (UnimplementedCoreServer) ListFluxRuntimeObjects(context.Context, *ListFluxRuntimeObjectsRequest) (*ListFluxRuntimeObjectsResponse, error)
func (UnimplementedCoreServer) ListNamespaces ¶
func (UnimplementedCoreServer) ListNamespaces(context.Context, *ListNamespacesRequest) (*ListNamespacesResponse, error)
func (UnimplementedCoreServer) ListObjects ¶ added in v0.9.4
func (UnimplementedCoreServer) ListObjects(context.Context, *ListObjectsRequest) (*ListObjectsResponse, error)
func (UnimplementedCoreServer) SyncFluxObject ¶ added in v0.9.0
func (UnimplementedCoreServer) SyncFluxObject(context.Context, *SyncFluxObjectRequest) (*SyncFluxObjectResponse, error)
func (UnimplementedCoreServer) ToggleSuspendResource ¶ added in v0.8.1
func (UnimplementedCoreServer) ToggleSuspendResource(context.Context, *ToggleSuspendResourceRequest) (*ToggleSuspendResourceResponse, error)
type UnsafeCoreServer ¶
type UnsafeCoreServer interface {
// contains filtered or unexported methods
}
UnsafeCoreServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CoreServer will result in compilation errors.
type UnstructuredObject ¶
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"` Conditions []*Condition `protobuf:"bytes,6,rep,name=conditions,proto3" json:"conditions,omitempty"` Suspended bool `protobuf:"varint,7,opt,name=suspended,proto3" json:"suspended,omitempty"` ClusterName string `protobuf:"bytes,8,opt,name=clusterName,proto3" json:"clusterName,omitempty"` Images []string `protobuf:"bytes,9,rep,name=images,proto3" json:"images,omitempty"` // contains filtered or unexported fields }
UnstructuredObject is a Kubernetes object of an unknown type
func (*UnstructuredObject) Descriptor
deprecated
func (*UnstructuredObject) Descriptor() ([]byte, []int)
Deprecated: Use UnstructuredObject.ProtoReflect.Descriptor instead.
func (*UnstructuredObject) GetClusterName ¶
func (x *UnstructuredObject) GetClusterName() string
func (*UnstructuredObject) GetConditions ¶
func (x *UnstructuredObject) GetConditions() []*Condition
func (*UnstructuredObject) GetGroupVersionKind ¶
func (x *UnstructuredObject) GetGroupVersionKind() *GroupVersionKind
func (*UnstructuredObject) GetImages ¶ added in v0.8.1
func (x *UnstructuredObject) GetImages() []string
func (*UnstructuredObject) GetName ¶
func (x *UnstructuredObject) GetName() string
func (*UnstructuredObject) GetNamespace ¶
func (x *UnstructuredObject) GetNamespace() string
func (*UnstructuredObject) GetStatus ¶
func (x *UnstructuredObject) GetStatus() string
func (*UnstructuredObject) GetSuspended ¶
func (x *UnstructuredObject) GetSuspended() bool
func (*UnstructuredObject) GetUid ¶
func (x *UnstructuredObject) GetUid() string
func (*UnstructuredObject) ProtoMessage ¶
func (*UnstructuredObject) ProtoMessage()
func (*UnstructuredObject) ProtoReflect ¶
func (x *UnstructuredObject) ProtoReflect() protoreflect.Message
func (*UnstructuredObject) Reset ¶
func (x *UnstructuredObject) Reset()
func (*UnstructuredObject) String ¶
func (x *UnstructuredObject) String() string