v1

package
v0.8.3-rc1 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2023 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	MatchOptions_name = map[int32]string{
		0: "Default",

		1: "EmptySelectorMatchesNone",
	}
	MatchOptions_value = map[string]int32{
		"Default":                  0,
		"EmptySelectorMatchesAll":  0,
		"EmptySelectorMatchesNone": 1,
	}
)

Enum value maps for MatchOptions.

View Source
var (
	TaskState_name = map[int32]string{
		0: "Unknown",
		1: "Pending",
		2: "Running",
		3: "Completed",
		4: "Failed",
		6: "Canceled",
	}
	TaskState_value = map[string]int32{
		"Unknown":   0,
		"Pending":   1,
		"Running":   2,
		"Completed": 3,
		"Failed":    4,
		"Canceled":  6,
	}
)

Enum value maps for TaskState.

View Source
var (
	TaskTrigger_name = map[int32]string{
		0: "Start",
		1: "End",
		2: "Error",
		3: "Cancel",
	}
	TaskTrigger_value = map[string]int32{
		"Start":  0,
		"End":    1,
		"Error":  2,
		"Cancel": 3,
	}
)

Enum value maps for TaskTrigger.

View Source
var (
	ErrReferenceRequiresID   = errors.New("reference requires ID to be set; this object is uniquely identified by ID")
	ErrReferenceRequiresName = errors.New("reference requires Name to be set; this object is uniquely identified by name")
)
View Source
var File_github_com_rancher_opni_pkg_apis_core_v1_core_proto protoreflect.FileDescriptor

Functions

func IsLabelInternal added in v0.6.0

func IsLabelInternal(key string) bool

func IsLabelMutable added in v0.6.0

func IsLabelMutable(key string) bool

func NewContextWithLastKnownConnectionDetails added in v0.8.0

func NewContextWithLastKnownConnectionDetails(ctx context.Context, details *LastKnownConnectionDetails) context.Context

Types

type AlertLog

type AlertLog struct {
	ConditionId *Reference             `protobuf:"bytes,1,opt,name=conditionId,proto3" json:"conditionId,omitempty"`
	Timestamp   *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // unix epoch timestamp
	Metadata    *structpb.Struct       `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// contains filtered or unexported fields
}

func (*AlertLog) Descriptor deprecated

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

Deprecated: Use AlertLog.ProtoReflect.Descriptor instead.

func (*AlertLog) GetConditionId added in v0.6.0

func (x *AlertLog) GetConditionId() *Reference

func (*AlertLog) GetMetadata

func (x *AlertLog) GetMetadata() *structpb.Struct

func (*AlertLog) GetTimestamp

func (x *AlertLog) GetTimestamp() *timestamppb.Timestamp

func (*AlertLog) ProtoMessage

func (*AlertLog) ProtoMessage()

func (*AlertLog) ProtoReflect

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

func (*AlertLog) Reset

func (x *AlertLog) Reset()

func (*AlertLog) String

func (x *AlertLog) String() string

type AlertLogList

type AlertLogList struct {
	Items []*AlertLog `protobuf:"bytes,1,rep,name=Items,proto3" json:"Items,omitempty"`
	// contains filtered or unexported fields
}

func (*AlertLogList) Descriptor deprecated

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

Deprecated: Use AlertLogList.ProtoReflect.Descriptor instead.

func (*AlertLogList) GetItems

func (x *AlertLogList) GetItems() []*AlertLog

func (*AlertLogList) ProtoMessage

func (*AlertLogList) ProtoMessage()

func (*AlertLogList) ProtoReflect

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

func (*AlertLogList) Reset

func (x *AlertLogList) Reset()

func (*AlertLogList) String

func (x *AlertLogList) String() string

type BootstrapToken

type BootstrapToken struct {
	TokenID  string                  `protobuf:"bytes,1,opt,name=tokenID,proto3" json:"tokenID,omitempty"`
	Secret   string                  `protobuf:"bytes,2,opt,name=secret,proto3" json:"secret,omitempty"`
	Metadata *BootstrapTokenMetadata `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// contains filtered or unexported fields
}

func (*BootstrapToken) DeepCopy

func (in *BootstrapToken) DeepCopy() *BootstrapToken

func (*BootstrapToken) DeepCopyInto

func (in *BootstrapToken) DeepCopyInto(out *BootstrapToken)

func (*BootstrapToken) Descriptor deprecated

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

Deprecated: Use BootstrapToken.ProtoReflect.Descriptor instead.

func (*BootstrapToken) GetCapabilities

func (t *BootstrapToken) GetCapabilities() []*TokenCapability

func (*BootstrapToken) GetLabels

func (t *BootstrapToken) GetLabels() map[string]string

func (*BootstrapToken) GetMetadata

func (x *BootstrapToken) GetMetadata() *BootstrapTokenMetadata

func (*BootstrapToken) GetResourceVersion added in v0.6.0

func (t *BootstrapToken) GetResourceVersion() string

func (*BootstrapToken) GetSecret

func (x *BootstrapToken) GetSecret() string

func (*BootstrapToken) GetTokenID

func (x *BootstrapToken) GetTokenID() string

func (*BootstrapToken) ProtoMessage

func (*BootstrapToken) ProtoMessage()

func (*BootstrapToken) ProtoReflect

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

func (*BootstrapToken) Reference

func (r *BootstrapToken) Reference() *Reference

func (*BootstrapToken) Reset

func (x *BootstrapToken) Reset()

func (*BootstrapToken) SetCapabilities

func (t *BootstrapToken) SetCapabilities(capabilities []*TokenCapability)

func (*BootstrapToken) SetLabels

func (t *BootstrapToken) SetLabels(labels map[string]string)

func (*BootstrapToken) SetResourceVersion added in v0.6.0

func (t *BootstrapToken) SetResourceVersion(version string)

func (*BootstrapToken) String

func (x *BootstrapToken) String() string

type BootstrapTokenList

type BootstrapTokenList struct {
	Items []*BootstrapToken `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*BootstrapTokenList) Descriptor deprecated

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

Deprecated: Use BootstrapTokenList.ProtoReflect.Descriptor instead.

func (*BootstrapTokenList) GetItems

func (x *BootstrapTokenList) GetItems() []*BootstrapToken

func (*BootstrapTokenList) ProtoMessage

func (*BootstrapTokenList) ProtoMessage()

func (*BootstrapTokenList) ProtoReflect

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

func (*BootstrapTokenList) Reset

func (x *BootstrapTokenList) Reset()

func (*BootstrapTokenList) String

func (x *BootstrapTokenList) String() string

type BootstrapTokenMetadata

type BootstrapTokenMetadata struct {
	LeaseID         int64              `protobuf:"varint,1,opt,name=leaseID,proto3" json:"leaseID,omitempty"`
	Ttl             int64              `protobuf:"varint,2,opt,name=ttl,proto3" json:"ttl,omitempty"`
	UsageCount      int64              `protobuf:"varint,3,opt,name=usageCount,proto3" json:"usageCount,omitempty"`
	Labels          map[string]string  `` /* 153-byte string literal not displayed */
	Capabilities    []*TokenCapability `protobuf:"bytes,5,rep,name=capabilities,proto3" json:"capabilities,omitempty"`
	ResourceVersion string             `protobuf:"bytes,6,opt,name=resourceVersion,proto3" json:"resourceVersion,omitempty"`
	// contains filtered or unexported fields
}

func (*BootstrapTokenMetadata) Descriptor deprecated

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

Deprecated: Use BootstrapTokenMetadata.ProtoReflect.Descriptor instead.

func (*BootstrapTokenMetadata) GetCapabilities

func (x *BootstrapTokenMetadata) GetCapabilities() []*TokenCapability

func (*BootstrapTokenMetadata) GetLabels

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

func (*BootstrapTokenMetadata) GetLeaseID

func (x *BootstrapTokenMetadata) GetLeaseID() int64

func (*BootstrapTokenMetadata) GetResourceVersion added in v0.6.0

func (x *BootstrapTokenMetadata) GetResourceVersion() string

func (*BootstrapTokenMetadata) GetTtl

func (x *BootstrapTokenMetadata) GetTtl() int64

func (*BootstrapTokenMetadata) GetUsageCount

func (x *BootstrapTokenMetadata) GetUsageCount() int64

func (*BootstrapTokenMetadata) ProtoMessage

func (*BootstrapTokenMetadata) ProtoMessage()

func (*BootstrapTokenMetadata) ProtoReflect

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

func (*BootstrapTokenMetadata) Reset

func (x *BootstrapTokenMetadata) Reset()

func (*BootstrapTokenMetadata) String

func (x *BootstrapTokenMetadata) String() string

type BuildInfo added in v0.8.0

type BuildInfo struct {
	GoVersion string          `protobuf:"bytes,1,opt,name=goVersion,proto3" json:"goVersion,omitempty"`
	Path      string          `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
	Main      *Module         `protobuf:"bytes,3,opt,name=main,proto3" json:"main,omitempty"`
	Deps      []*Module       `protobuf:"bytes,4,rep,name=deps,proto3" json:"deps,omitempty"`
	Settings  []*BuildSetting `protobuf:"bytes,5,rep,name=settings,proto3" json:"settings,omitempty"`
	// contains filtered or unexported fields
}

func (*BuildInfo) Descriptor deprecated added in v0.8.0

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

Deprecated: Use BuildInfo.ProtoReflect.Descriptor instead.

func (*BuildInfo) GetDeps added in v0.8.0

func (x *BuildInfo) GetDeps() []*Module

func (*BuildInfo) GetGoVersion added in v0.8.0

func (x *BuildInfo) GetGoVersion() string

func (*BuildInfo) GetMain added in v0.8.0

func (x *BuildInfo) GetMain() *Module

func (*BuildInfo) GetPath added in v0.8.0

func (x *BuildInfo) GetPath() string

func (*BuildInfo) GetSettings added in v0.8.0

func (x *BuildInfo) GetSettings() []*BuildSetting

func (*BuildInfo) ProtoMessage added in v0.8.0

func (*BuildInfo) ProtoMessage()

func (*BuildInfo) ProtoReflect added in v0.8.0

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

func (*BuildInfo) Reset added in v0.8.0

func (x *BuildInfo) Reset()

func (*BuildInfo) String added in v0.8.0

func (x *BuildInfo) String() string

type BuildSetting added in v0.8.0

type BuildSetting struct {
	Key   string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*BuildSetting) Descriptor deprecated added in v0.8.0

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

Deprecated: Use BuildSetting.ProtoReflect.Descriptor instead.

func (*BuildSetting) GetKey added in v0.8.0

func (x *BuildSetting) GetKey() string

func (*BuildSetting) GetValue added in v0.8.0

func (x *BuildSetting) GetValue() string

func (*BuildSetting) ProtoMessage added in v0.8.0

func (*BuildSetting) ProtoMessage()

func (*BuildSetting) ProtoReflect added in v0.8.0

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

func (*BuildSetting) Reset added in v0.8.0

func (x *BuildSetting) Reset()

func (*BuildSetting) String added in v0.8.0

func (x *BuildSetting) String() string

type Capability

type Capability[T any] interface {
	Comparator[T]
	fmt.Stringer
}

type CertInfo

type CertInfo struct {
	Issuer      string `protobuf:"bytes,1,opt,name=issuer,proto3" json:"issuer,omitempty"`
	Subject     string `protobuf:"bytes,2,opt,name=subject,proto3" json:"subject,omitempty"`
	IsCA        bool   `protobuf:"varint,3,opt,name=isCA,proto3" json:"isCA,omitempty"`
	NotBefore   string `protobuf:"bytes,4,opt,name=notBefore,proto3" json:"notBefore,omitempty"`
	NotAfter    string `protobuf:"bytes,5,opt,name=notAfter,proto3" json:"notAfter,omitempty"`
	Fingerprint string `protobuf:"bytes,6,opt,name=fingerprint,proto3" json:"fingerprint,omitempty"`
	Raw         []byte `protobuf:"bytes,7,opt,name=raw,proto3" json:"raw,omitempty"`
	// contains filtered or unexported fields
}

func (*CertInfo) Descriptor deprecated

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

Deprecated: Use CertInfo.ProtoReflect.Descriptor instead.

func (*CertInfo) GetFingerprint

func (x *CertInfo) GetFingerprint() string

func (*CertInfo) GetIsCA

func (x *CertInfo) GetIsCA() bool

func (*CertInfo) GetIssuer

func (x *CertInfo) GetIssuer() string

func (*CertInfo) GetNotAfter

func (x *CertInfo) GetNotAfter() string

func (*CertInfo) GetNotBefore

func (x *CertInfo) GetNotBefore() string

func (*CertInfo) GetRaw added in v0.6.0

func (x *CertInfo) GetRaw() []byte

func (*CertInfo) GetSubject

func (x *CertInfo) GetSubject() string

func (*CertInfo) ProtoMessage

func (*CertInfo) ProtoMessage()

func (*CertInfo) ProtoReflect

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

func (*CertInfo) Reset

func (x *CertInfo) Reset()

func (*CertInfo) String

func (x *CertInfo) String() string

type ChallengeResponse added in v0.6.2

type ChallengeResponse struct {
	Authorization string `protobuf:"bytes,2047,opt,name=authorization,proto3" json:"authorization,omitempty"`
	// contains filtered or unexported fields
}

func (*ChallengeResponse) Descriptor deprecated added in v0.6.2

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

Deprecated: Use ChallengeResponse.ProtoReflect.Descriptor instead.

func (*ChallengeResponse) GetAuthorization added in v0.6.2

func (x *ChallengeResponse) GetAuthorization() string

func (*ChallengeResponse) ProtoMessage added in v0.6.2

func (*ChallengeResponse) ProtoMessage()

func (*ChallengeResponse) ProtoReflect added in v0.6.2

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

func (*ChallengeResponse) Reset added in v0.6.2

func (x *ChallengeResponse) Reset()

func (*ChallengeResponse) String added in v0.6.2

func (x *ChallengeResponse) String() string

type Cluster

type Cluster struct {
	Id       string           `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Metadata *ClusterMetadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// contains filtered or unexported fields
}

func (*Cluster) DeepCopy

func (in *Cluster) DeepCopy() *Cluster

func (*Cluster) DeepCopyInto

func (in *Cluster) DeepCopyInto(out *Cluster)

func (*Cluster) Descriptor deprecated

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

Deprecated: Use Cluster.ProtoReflect.Descriptor instead.

func (*Cluster) GetCapabilities

func (c *Cluster) GetCapabilities() []*ClusterCapability

func (*Cluster) GetCreationTimestamp added in v0.8.0

func (c *Cluster) GetCreationTimestamp() time.Time

func (*Cluster) GetId

func (x *Cluster) GetId() string

func (*Cluster) GetLabels

func (c *Cluster) GetLabels() map[string]string

func (*Cluster) GetMetadata

func (x *Cluster) GetMetadata() *ClusterMetadata

func (*Cluster) GetResourceVersion added in v0.6.0

func (c *Cluster) GetResourceVersion() string

func (*Cluster) ProtoMessage

func (*Cluster) ProtoMessage()

func (*Cluster) ProtoReflect

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

func (*Cluster) Reference

func (c *Cluster) Reference() *Reference

func (*Cluster) Reset

func (x *Cluster) Reset()

func (*Cluster) SetCapabilities

func (c *Cluster) SetCapabilities(capabilities []*ClusterCapability)

func (*Cluster) SetCreationTimestamp added in v0.8.0

func (c *Cluster) SetCreationTimestamp(ts time.Time)

func (*Cluster) SetLabels

func (c *Cluster) SetLabels(labels map[string]string)

func (*Cluster) SetResourceVersion added in v0.6.0

func (c *Cluster) SetResourceVersion(version string)

func (*Cluster) String

func (x *Cluster) String() string

func (*Cluster) Validate

func (c *Cluster) Validate() error

type ClusterCapability

type ClusterCapability struct {
	Name              string                 `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	DeletionTimestamp *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=deletionTimestamp,proto3" json:"deletionTimestamp,omitempty"`
	// contains filtered or unexported fields
}

func (*ClusterCapability) Descriptor deprecated

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

Deprecated: Use ClusterCapability.ProtoReflect.Descriptor instead.

func (*ClusterCapability) Equal

func (c *ClusterCapability) Equal(other *ClusterCapability) bool

func (*ClusterCapability) GetDeletionTimestamp added in v0.6.0

func (x *ClusterCapability) GetDeletionTimestamp() *timestamppb.Timestamp

func (*ClusterCapability) GetName

func (x *ClusterCapability) GetName() string

func (*ClusterCapability) ProtoMessage

func (*ClusterCapability) ProtoMessage()

func (*ClusterCapability) ProtoReflect

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

func (*ClusterCapability) Reset

func (x *ClusterCapability) Reset()

func (*ClusterCapability) String

func (x *ClusterCapability) String() string

func (*ClusterCapability) Validate

func (cc *ClusterCapability) Validate() error

type ClusterHealth added in v0.6.1

type ClusterHealth struct {
	Cluster *Reference `protobuf:"bytes,1,opt,name=cluster,proto3" json:"cluster,omitempty"`
	Health  *Health    `protobuf:"bytes,2,opt,name=health,proto3" json:"health,omitempty"`
	// contains filtered or unexported fields
}

func (*ClusterHealth) Descriptor deprecated added in v0.6.1

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

Deprecated: Use ClusterHealth.ProtoReflect.Descriptor instead.

func (*ClusterHealth) GetCluster added in v0.6.1

func (x *ClusterHealth) GetCluster() *Reference

func (*ClusterHealth) GetHealth added in v0.6.1

func (x *ClusterHealth) GetHealth() *Health

func (*ClusterHealth) ProtoMessage added in v0.6.1

func (*ClusterHealth) ProtoMessage()

func (*ClusterHealth) ProtoReflect added in v0.6.1

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

func (*ClusterHealth) Reset added in v0.6.1

func (x *ClusterHealth) Reset()

func (*ClusterHealth) String added in v0.6.1

func (x *ClusterHealth) String() string

type ClusterHealthStatus added in v0.6.1

type ClusterHealthStatus struct {
	Cluster      *Reference    `protobuf:"bytes,1,opt,name=cluster,proto3" json:"cluster,omitempty"`
	HealthStatus *HealthStatus `protobuf:"bytes,2,opt,name=healthStatus,proto3" json:"healthStatus,omitempty"`
	// contains filtered or unexported fields
}

func (*ClusterHealthStatus) Descriptor deprecated added in v0.6.1

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

Deprecated: Use ClusterHealthStatus.ProtoReflect.Descriptor instead.

func (*ClusterHealthStatus) GetCluster added in v0.6.1

func (x *ClusterHealthStatus) GetCluster() *Reference

func (*ClusterHealthStatus) GetHealthStatus added in v0.6.1

func (x *ClusterHealthStatus) GetHealthStatus() *HealthStatus

func (*ClusterHealthStatus) ProtoMessage added in v0.6.1

func (*ClusterHealthStatus) ProtoMessage()

func (*ClusterHealthStatus) ProtoReflect added in v0.6.1

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

func (*ClusterHealthStatus) Reset added in v0.6.1

func (x *ClusterHealthStatus) Reset()

func (*ClusterHealthStatus) String added in v0.6.1

func (x *ClusterHealthStatus) String() string

type ClusterList

type ClusterList struct {
	Items []*Cluster `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*ClusterList) Descriptor deprecated

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

Deprecated: Use ClusterList.ProtoReflect.Descriptor instead.

func (*ClusterList) GetItems

func (x *ClusterList) GetItems() []*Cluster

func (*ClusterList) ProtoMessage

func (*ClusterList) ProtoMessage()

func (*ClusterList) ProtoReflect

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

func (*ClusterList) Reset

func (x *ClusterList) Reset()

func (*ClusterList) String

func (x *ClusterList) String() string

type ClusterMetadata

type ClusterMetadata struct {
	Labels       map[string]string    `` /* 153-byte string literal not displayed */
	Capabilities []*ClusterCapability `protobuf:"bytes,2,rep,name=capabilities,proto3" json:"capabilities,omitempty"`
	// read-only
	ResourceVersion            string                      `protobuf:"bytes,3,opt,name=resourceVersion,proto3" json:"resourceVersion,omitempty"`
	LastKnownConnectionDetails *LastKnownConnectionDetails `protobuf:"bytes,4,opt,name=lastKnownConnectionDetails,proto3" json:"lastKnownConnectionDetails,omitempty"`
	// read-only
	CreationTimestamp *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=creationTimestamp,proto3" json:"creationTimestamp,omitempty"`
	// contains filtered or unexported fields
}

func (*ClusterMetadata) Descriptor deprecated

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

Deprecated: Use ClusterMetadata.ProtoReflect.Descriptor instead.

func (*ClusterMetadata) GetCapabilities

func (x *ClusterMetadata) GetCapabilities() []*ClusterCapability

func (*ClusterMetadata) GetCreationTimestamp added in v0.8.0

func (x *ClusterMetadata) GetCreationTimestamp() *timestamppb.Timestamp

func (*ClusterMetadata) GetLabels

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

func (*ClusterMetadata) GetLastKnownConnectionDetails added in v0.8.0

func (x *ClusterMetadata) GetLastKnownConnectionDetails() *LastKnownConnectionDetails

func (*ClusterMetadata) GetResourceVersion added in v0.6.0

func (x *ClusterMetadata) GetResourceVersion() string

func (*ClusterMetadata) ProtoMessage

func (*ClusterMetadata) ProtoMessage()

func (*ClusterMetadata) ProtoReflect

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

func (*ClusterMetadata) Reset

func (x *ClusterMetadata) Reset()

func (*ClusterMetadata) String

func (x *ClusterMetadata) String() string

type ClusterSelector added in v0.6.1

type ClusterSelector struct {
	ClusterIDs    []string       `protobuf:"bytes,1,rep,name=clusterIDs,proto3" json:"clusterIDs,omitempty"`
	LabelSelector *LabelSelector `protobuf:"bytes,2,opt,name=labelSelector,proto3" json:"labelSelector,omitempty"`
	MatchOptions  MatchOptions   `protobuf:"varint,3,opt,name=matchOptions,proto3,enum=core.MatchOptions" json:"matchOptions,omitempty"`
	// contains filtered or unexported fields
}

func (*ClusterSelector) Descriptor deprecated added in v0.6.1

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

Deprecated: Use ClusterSelector.ProtoReflect.Descriptor instead.

func (*ClusterSelector) GetClusterIDs added in v0.6.1

func (x *ClusterSelector) GetClusterIDs() []string

func (*ClusterSelector) GetLabelSelector added in v0.6.1

func (x *ClusterSelector) GetLabelSelector() *LabelSelector

func (*ClusterSelector) GetMatchOptions added in v0.6.1

func (x *ClusterSelector) GetMatchOptions() MatchOptions

func (*ClusterSelector) ProtoMessage added in v0.6.1

func (*ClusterSelector) ProtoMessage()

func (*ClusterSelector) ProtoReflect added in v0.6.1

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

func (*ClusterSelector) Reset added in v0.6.1

func (x *ClusterSelector) Reset()

func (*ClusterSelector) String added in v0.6.1

func (x *ClusterSelector) String() string

func (*ClusterSelector) Validate added in v0.6.1

func (s *ClusterSelector) Validate() error

type ClusterStatus added in v0.6.1

type ClusterStatus struct {
	Cluster *Reference `protobuf:"bytes,1,opt,name=cluster,proto3" json:"cluster,omitempty"`
	Status  *Status    `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*ClusterStatus) Descriptor deprecated added in v0.6.1

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

Deprecated: Use ClusterStatus.ProtoReflect.Descriptor instead.

func (*ClusterStatus) GetCluster added in v0.6.1

func (x *ClusterStatus) GetCluster() *Reference

func (*ClusterStatus) GetStatus added in v0.6.1

func (x *ClusterStatus) GetStatus() *Status

func (*ClusterStatus) ProtoMessage added in v0.6.1

func (*ClusterStatus) ProtoMessage()

func (*ClusterStatus) ProtoReflect added in v0.6.1

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

func (*ClusterStatus) Reset added in v0.6.1

func (x *ClusterStatus) Reset()

func (*ClusterStatus) String added in v0.6.1

func (x *ClusterStatus) String() string

type Comparator

type Comparator[T any] interface {
	Equal(other T) bool
}

type Health

type Health struct {
	Timestamp   *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	Ready       bool                   `protobuf:"varint,2,opt,name=ready,proto3" json:"ready,omitempty"`
	Conditions  []string               `protobuf:"bytes,3,rep,name=conditions,proto3" json:"conditions,omitempty"`
	Annotations map[string]string      `` /* 163-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Health) Descriptor deprecated

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

Deprecated: Use Health.ProtoReflect.Descriptor instead.

func (*Health) Equal added in v0.6.0

func (r *Health) Equal(other *Health) bool

func (*Health) GetAnnotations added in v0.6.0

func (x *Health) GetAnnotations() map[string]string

func (*Health) GetConditions

func (x *Health) GetConditions() []string

func (*Health) GetReady

func (x *Health) GetReady() bool

func (*Health) GetTimestamp added in v0.6.0

func (x *Health) GetTimestamp() *timestamppb.Timestamp

func (*Health) NewerThan added in v0.6.0

func (r *Health) NewerThan(other *Health) bool

func (*Health) ProtoMessage

func (*Health) ProtoMessage()

func (*Health) ProtoReflect

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

func (*Health) Reset

func (x *Health) Reset()

func (*Health) String

func (x *Health) String() string

type HealthStatus

type HealthStatus struct {
	Health *Health `protobuf:"bytes,1,opt,name=health,proto3" json:"health,omitempty"`
	Status *Status `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*HealthStatus) Descriptor deprecated

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

Deprecated: Use HealthStatus.ProtoReflect.Descriptor instead.

func (*HealthStatus) GetHealth

func (x *HealthStatus) GetHealth() *Health

func (*HealthStatus) GetStatus

func (x *HealthStatus) GetStatus() *Status

func (*HealthStatus) ProtoMessage

func (*HealthStatus) ProtoMessage()

func (*HealthStatus) ProtoReflect

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

func (*HealthStatus) Reset

func (x *HealthStatus) Reset()

func (*HealthStatus) String

func (x *HealthStatus) String() string

func (*HealthStatus) Summary added in v0.6.0

func (s *HealthStatus) Summary() string

type IdLabelReader added in v0.8.2

type IdLabelReader interface {
	IdReader
	LabelReader
}

type IdReader added in v0.8.2

type IdReader interface {
	GetId() string
}

type LabelReader added in v0.8.2

type LabelReader interface {
	GetLabels() map[string]string
}

type LabelSelector

type LabelSelector struct {
	MatchLabels      map[string]string           `` /* 163-byte string literal not displayed */
	MatchExpressions []*LabelSelectorRequirement `protobuf:"bytes,2,rep,name=matchExpressions,proto3" json:"matchExpressions,omitempty"`
	// contains filtered or unexported fields
}

func (*LabelSelector) Descriptor deprecated

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

Deprecated: Use LabelSelector.ProtoReflect.Descriptor instead.

func (*LabelSelector) ExpressionString

func (ls *LabelSelector) ExpressionString() string

func (*LabelSelector) GetMatchExpressions

func (x *LabelSelector) GetMatchExpressions() []*LabelSelectorRequirement

func (*LabelSelector) GetMatchLabels

func (x *LabelSelector) GetMatchLabels() map[string]string

func (*LabelSelector) IsEmpty

func (ls *LabelSelector) IsEmpty() bool

func (*LabelSelector) ProtoMessage

func (*LabelSelector) ProtoMessage()

func (*LabelSelector) ProtoReflect

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

func (*LabelSelector) Reset

func (x *LabelSelector) Reset()

func (*LabelSelector) String

func (x *LabelSelector) String() string

func (*LabelSelector) ToLabelSelector

func (ls *LabelSelector) ToLabelSelector() *metav1.LabelSelector

func (*LabelSelector) Validate

func (ls *LabelSelector) Validate() error

type LabelSelectorOperator

type LabelSelectorOperator string
const (
	LabelSelectorOpIn           LabelSelectorOperator = "In"
	LabelSelectorOpNotIn        LabelSelectorOperator = "NotIn"
	LabelSelectorOpExists       LabelSelectorOperator = "Exists"
	LabelSelectorOpDoesNotExist LabelSelectorOperator = "DoesNotExist"

	NameLabel       = "opni.io/name"
	LegacyNameLabel = "kubernetes.io/metadata.name"
)

type LabelSelectorRequirement

type LabelSelectorRequirement struct {
	Key      string   `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Operator string   `protobuf:"bytes,2,opt,name=operator,proto3" json:"operator,omitempty"`
	Values   []string `protobuf:"bytes,3,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

func (*LabelSelectorRequirement) Descriptor deprecated

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

Deprecated: Use LabelSelectorRequirement.ProtoReflect.Descriptor instead.

func (*LabelSelectorRequirement) ExpressionString

func (lsr *LabelSelectorRequirement) ExpressionString() string

func (*LabelSelectorRequirement) GetKey

func (x *LabelSelectorRequirement) GetKey() string

func (*LabelSelectorRequirement) GetOperator

func (x *LabelSelectorRequirement) GetOperator() string

func (*LabelSelectorRequirement) GetValues

func (x *LabelSelectorRequirement) GetValues() []string

func (*LabelSelectorRequirement) ProtoMessage

func (*LabelSelectorRequirement) ProtoMessage()

func (*LabelSelectorRequirement) ProtoReflect

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

func (*LabelSelectorRequirement) Reset

func (x *LabelSelectorRequirement) Reset()

func (*LabelSelectorRequirement) String

func (x *LabelSelectorRequirement) String() string

func (*LabelSelectorRequirement) Validate

func (r *LabelSelectorRequirement) Validate() error

type LastKnownConnectionDetails added in v0.8.0

type LastKnownConnectionDetails struct {
	Time           *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"`
	Address        string                 `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	AgentBuildInfo *BuildInfo             `protobuf:"bytes,3,opt,name=agentBuildInfo,proto3" json:"agentBuildInfo,omitempty"`
	// plugin package id -> hash
	PluginVersions map[string]string `` /* 169-byte string literal not displayed */
	// contains filtered or unexported fields
}

func LastKnownConnectionDetailsFromContext added in v0.8.0

func LastKnownConnectionDetailsFromContext(ctx context.Context) (*LastKnownConnectionDetails, bool)

func (*LastKnownConnectionDetails) Descriptor deprecated added in v0.8.0

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

Deprecated: Use LastKnownConnectionDetails.ProtoReflect.Descriptor instead.

func (*LastKnownConnectionDetails) GetAddress added in v0.8.0

func (x *LastKnownConnectionDetails) GetAddress() string

func (*LastKnownConnectionDetails) GetAgentBuildInfo added in v0.8.0

func (x *LastKnownConnectionDetails) GetAgentBuildInfo() *BuildInfo

func (*LastKnownConnectionDetails) GetPluginVersions added in v0.8.0

func (x *LastKnownConnectionDetails) GetPluginVersions() map[string]string

func (*LastKnownConnectionDetails) GetTime added in v0.8.0

func (*LastKnownConnectionDetails) ProtoMessage added in v0.8.0

func (*LastKnownConnectionDetails) ProtoMessage()

func (*LastKnownConnectionDetails) ProtoReflect added in v0.8.0

func (*LastKnownConnectionDetails) Reset added in v0.8.0

func (x *LastKnownConnectionDetails) Reset()

func (*LastKnownConnectionDetails) String added in v0.8.0

func (x *LastKnownConnectionDetails) String() string

type LogEntry added in v0.6.0

type LogEntry struct {
	Msg       string                 `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"`
	Level     int32                  `protobuf:"varint,2,opt,name=level,proto3" json:"level,omitempty"`
	Timestamp *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// contains filtered or unexported fields
}

func (*LogEntry) Descriptor deprecated added in v0.6.0

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

Deprecated: Use LogEntry.ProtoReflect.Descriptor instead.

func (*LogEntry) GetLevel added in v0.6.0

func (x *LogEntry) GetLevel() int32

func (*LogEntry) GetLogLevel added in v0.6.0

func (s *LogEntry) GetLogLevel() zapcore.Level

func (*LogEntry) GetMsg added in v0.6.0

func (x *LogEntry) GetMsg() string

func (*LogEntry) GetTimestamp added in v0.6.0

func (x *LogEntry) GetTimestamp() *timestamppb.Timestamp

func (*LogEntry) ProtoMessage added in v0.6.0

func (*LogEntry) ProtoMessage()

func (*LogEntry) ProtoReflect added in v0.6.0

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

func (*LogEntry) Reset added in v0.6.0

func (x *LogEntry) Reset()

func (*LogEntry) String added in v0.6.0

func (x *LogEntry) String() string

type MatchOptions

type MatchOptions int32
const (
	MatchOptions_Default                  MatchOptions = 0
	MatchOptions_EmptySelectorMatchesAll  MatchOptions = 0
	MatchOptions_EmptySelectorMatchesNone MatchOptions = 1
)

func (MatchOptions) Descriptor

func (MatchOptions) Enum

func (x MatchOptions) Enum() *MatchOptions

func (MatchOptions) EnumDescriptor deprecated

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

Deprecated: Use MatchOptions.Descriptor instead.

func (MatchOptions) Number

func (MatchOptions) String

func (x MatchOptions) String() string

func (MatchOptions) Type

func (MatchOptions) Validate

func (o MatchOptions) Validate() error

type MetadataAccessor

type MetadataAccessor[T Capability[T]] interface {
	GetCapabilities() []T
	SetCapabilities(capabilities []T)
	GetLabels() map[string]string
	SetLabels(labels map[string]string)
	GetResourceVersion() string
	SetResourceVersion(version string)
}

type Module added in v0.8.0

type Module struct {
	Path    string  `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	Version string  `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
	Sum     string  `protobuf:"bytes,3,opt,name=sum,proto3" json:"sum,omitempty"`
	Replace *Module `protobuf:"bytes,4,opt,name=replace,proto3" json:"replace,omitempty"`
	// contains filtered or unexported fields
}

func (*Module) Descriptor deprecated added in v0.8.0

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

Deprecated: Use Module.ProtoReflect.Descriptor instead.

func (*Module) GetPath added in v0.8.0

func (x *Module) GetPath() string

func (*Module) GetReplace added in v0.8.0

func (x *Module) GetReplace() *Module

func (*Module) GetSum added in v0.8.0

func (x *Module) GetSum() string

func (*Module) GetVersion added in v0.8.0

func (x *Module) GetVersion() string

func (*Module) ProtoMessage added in v0.8.0

func (*Module) ProtoMessage()

func (*Module) ProtoReflect added in v0.8.0

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

func (*Module) Reset added in v0.8.0

func (x *Module) Reset()

func (*Module) String added in v0.8.0

func (x *Module) String() string

type Progress added in v0.6.0

type Progress struct {
	Current uint64 `protobuf:"varint,1,opt,name=current,proto3" json:"current,omitempty"`
	Total   uint64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
	// contains filtered or unexported fields
}

func (*Progress) Descriptor deprecated added in v0.6.0

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

Deprecated: Use Progress.ProtoReflect.Descriptor instead.

func (*Progress) GetCurrent added in v0.6.0

func (x *Progress) GetCurrent() uint64

func (*Progress) GetTotal added in v0.6.0

func (x *Progress) GetTotal() uint64

func (*Progress) ProtoMessage added in v0.6.0

func (*Progress) ProtoMessage()

func (*Progress) ProtoReflect added in v0.6.0

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

func (*Progress) Reset added in v0.6.0

func (x *Progress) Reset()

func (*Progress) String added in v0.6.0

func (x *Progress) String() string

type Reference

type Reference struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*Reference) Descriptor deprecated

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

Deprecated: Use Reference.ProtoReflect.Descriptor instead.

func (*Reference) Equal

func (r *Reference) Equal(other *Reference) bool

func (*Reference) GetId

func (x *Reference) GetId() string

func (*Reference) ProtoMessage

func (*Reference) ProtoMessage()

func (*Reference) ProtoReflect

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

func (*Reference) Reset

func (x *Reference) Reset()

func (*Reference) String

func (x *Reference) String() string

func (*Reference) Validate

func (ref *Reference) Validate() error

type ReferenceList

type ReferenceList struct {
	Items []*Reference `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*ReferenceList) Descriptor deprecated

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

Deprecated: Use ReferenceList.ProtoReflect.Descriptor instead.

func (*ReferenceList) GetItems

func (x *ReferenceList) GetItems() []*Reference

func (*ReferenceList) ProtoMessage

func (*ReferenceList) ProtoMessage()

func (*ReferenceList) ProtoReflect

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

func (*ReferenceList) Reset

func (x *ReferenceList) Reset()

func (*ReferenceList) String

func (x *ReferenceList) String() string

type Referencer

type Referencer interface {
	Reference() *Reference
}

type Role

type Role struct {
	Id          string         `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	ClusterIDs  []string       `protobuf:"bytes,2,rep,name=clusterIDs,proto3" json:"clusterIDs,omitempty"`
	MatchLabels *LabelSelector `protobuf:"bytes,3,opt,name=matchLabels,proto3" json:"matchLabels,omitempty"`
	// contains filtered or unexported fields
}

func (*Role) DeepCopy

func (in *Role) DeepCopy() *Role

func (*Role) DeepCopyInto

func (in *Role) DeepCopyInto(out *Role)

func (*Role) Descriptor deprecated

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

Deprecated: Use Role.ProtoReflect.Descriptor instead.

func (*Role) GetClusterIDs

func (x *Role) GetClusterIDs() []string

func (*Role) GetId

func (x *Role) GetId() string

func (*Role) GetMatchLabels

func (x *Role) GetMatchLabels() *LabelSelector

func (*Role) ProtoMessage

func (*Role) ProtoMessage()

func (*Role) ProtoReflect

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

func (*Role) Reference

func (r *Role) Reference() *Reference

func (*Role) Reset

func (x *Role) Reset()

func (*Role) String

func (x *Role) String() string

func (*Role) Validate

func (r *Role) Validate() error

type RoleBinding

type RoleBinding struct {
	Id       string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	RoleId   string   `protobuf:"bytes,2,opt,name=roleId,proto3" json:"roleId,omitempty"`
	Subjects []string `protobuf:"bytes,3,rep,name=subjects,proto3" json:"subjects,omitempty"`
	Taints   []string `protobuf:"bytes,4,rep,name=taints,proto3" json:"taints,omitempty"`
	// contains filtered or unexported fields
}

func (*RoleBinding) DeepCopy

func (in *RoleBinding) DeepCopy() *RoleBinding

func (*RoleBinding) DeepCopyInto

func (in *RoleBinding) DeepCopyInto(out *RoleBinding)

func (*RoleBinding) Descriptor deprecated

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

Deprecated: Use RoleBinding.ProtoReflect.Descriptor instead.

func (*RoleBinding) GetId

func (x *RoleBinding) GetId() string

func (*RoleBinding) GetRoleId

func (x *RoleBinding) GetRoleId() string

func (*RoleBinding) GetSubjects

func (x *RoleBinding) GetSubjects() []string

func (*RoleBinding) GetTaints

func (x *RoleBinding) GetTaints() []string

func (*RoleBinding) ProtoMessage

func (*RoleBinding) ProtoMessage()

func (*RoleBinding) ProtoReflect

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

func (*RoleBinding) Reference

func (r *RoleBinding) Reference() *Reference

func (*RoleBinding) Reset

func (x *RoleBinding) Reset()

func (*RoleBinding) RoleReference

func (r *RoleBinding) RoleReference() *Reference

func (*RoleBinding) String

func (x *RoleBinding) String() string

func (*RoleBinding) Validate

func (rb *RoleBinding) Validate() error

type RoleBindingList

type RoleBindingList struct {
	Items []*RoleBinding `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*RoleBindingList) Descriptor deprecated

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

Deprecated: Use RoleBindingList.ProtoReflect.Descriptor instead.

func (*RoleBindingList) GetItems

func (x *RoleBindingList) GetItems() []*RoleBinding

func (*RoleBindingList) ProtoMessage

func (*RoleBindingList) ProtoMessage()

func (*RoleBindingList) ProtoReflect

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

func (*RoleBindingList) Reset

func (x *RoleBindingList) Reset()

func (*RoleBindingList) String

func (x *RoleBindingList) String() string

type RoleList

type RoleList struct {
	Items []*Role `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*RoleList) Descriptor deprecated

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

Deprecated: Use RoleList.ProtoReflect.Descriptor instead.

func (*RoleList) GetItems

func (x *RoleList) GetItems() []*Role

func (*RoleList) ProtoMessage

func (*RoleList) ProtoMessage()

func (*RoleList) ProtoReflect

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

func (*RoleList) Reset

func (x *RoleList) Reset()

func (*RoleList) String

func (x *RoleList) String() string

type StateTransition added in v0.6.0

type StateTransition struct {
	State     TaskState              `protobuf:"varint,1,opt,name=state,proto3,enum=core.TaskState" json:"state,omitempty"`
	Timestamp *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// contains filtered or unexported fields
}

Represents a transition to a task state at a point in time.

func (*StateTransition) Descriptor deprecated added in v0.6.0

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

Deprecated: Use StateTransition.ProtoReflect.Descriptor instead.

func (*StateTransition) GetLogLevel added in v0.6.0

func (s *StateTransition) GetLogLevel() zapcore.Level

func (*StateTransition) GetMsg added in v0.6.0

func (s *StateTransition) GetMsg() string

func (*StateTransition) GetState added in v0.6.0

func (x *StateTransition) GetState() TaskState

func (*StateTransition) GetTimestamp added in v0.6.0

func (x *StateTransition) GetTimestamp() *timestamppb.Timestamp

func (*StateTransition) ProtoMessage added in v0.6.0

func (*StateTransition) ProtoMessage()

func (*StateTransition) ProtoReflect added in v0.6.0

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

func (*StateTransition) Reset added in v0.6.0

func (x *StateTransition) Reset()

func (*StateTransition) String added in v0.6.0

func (x *StateTransition) String() string

type Status

type Status struct {
	Timestamp *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	Connected bool                   `protobuf:"varint,2,opt,name=connected,proto3" json:"connected,omitempty"`
	// contains filtered or unexported fields
}

func (*Status) Descriptor deprecated

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

Deprecated: Use Status.ProtoReflect.Descriptor instead.

func (*Status) GetConnected

func (x *Status) GetConnected() bool

func (*Status) GetTimestamp added in v0.6.0

func (x *Status) GetTimestamp() *timestamppb.Timestamp

func (*Status) ProtoMessage

func (*Status) ProtoMessage()

func (*Status) ProtoReflect

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

func (*Status) Reset

func (x *Status) Reset()

func (*Status) String

func (x *Status) String() string

type SubjectAccessRequest

type SubjectAccessRequest struct {
	Subject string `protobuf:"bytes,1,opt,name=subject,proto3" json:"subject,omitempty"`
	// contains filtered or unexported fields
}

func (*SubjectAccessRequest) Descriptor deprecated

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

Deprecated: Use SubjectAccessRequest.ProtoReflect.Descriptor instead.

func (*SubjectAccessRequest) GetSubject

func (x *SubjectAccessRequest) GetSubject() string

func (*SubjectAccessRequest) ProtoMessage

func (*SubjectAccessRequest) ProtoMessage()

func (*SubjectAccessRequest) ProtoReflect

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

func (*SubjectAccessRequest) Reset

func (x *SubjectAccessRequest) Reset()

func (*SubjectAccessRequest) String

func (x *SubjectAccessRequest) String() string

func (*SubjectAccessRequest) Validate

func (sar *SubjectAccessRequest) Validate() error

type TaskState added in v0.6.0

type TaskState int32
const (
	TaskState_Unknown   TaskState = 0
	TaskState_Pending   TaskState = 1
	TaskState_Running   TaskState = 2
	TaskState_Completed TaskState = 3
	TaskState_Failed    TaskState = 4
	TaskState_Canceled  TaskState = 6
)

func (TaskState) Descriptor added in v0.6.0

func (TaskState) Descriptor() protoreflect.EnumDescriptor

func (TaskState) Enum added in v0.6.0

func (x TaskState) Enum() *TaskState

func (TaskState) EnumDescriptor deprecated added in v0.6.0

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

Deprecated: Use TaskState.Descriptor instead.

func (TaskState) Number added in v0.6.0

func (x TaskState) Number() protoreflect.EnumNumber

func (TaskState) String added in v0.6.0

func (x TaskState) String() string

func (TaskState) Type added in v0.6.0

type TaskStatus added in v0.6.0

type TaskStatus struct {
	State       TaskState          `protobuf:"varint,1,opt,name=state,proto3,enum=core.TaskState" json:"state,omitempty"`
	Progress    *Progress          `protobuf:"bytes,2,opt,name=progress,proto3" json:"progress,omitempty"`
	Metadata    string             `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`
	Logs        []*LogEntry        `protobuf:"bytes,4,rep,name=logs,proto3" json:"logs,omitempty"`
	Transitions []*StateTransition `protobuf:"bytes,5,rep,name=transitions,proto3" json:"transitions,omitempty"`
	// contains filtered or unexported fields
}

func (*TaskStatus) Descriptor deprecated added in v0.6.0

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

Deprecated: Use TaskStatus.ProtoReflect.Descriptor instead.

func (*TaskStatus) GetLogs added in v0.6.0

func (x *TaskStatus) GetLogs() []*LogEntry

func (*TaskStatus) GetMetadata added in v0.6.0

func (x *TaskStatus) GetMetadata() string

func (*TaskStatus) GetProgress added in v0.6.0

func (x *TaskStatus) GetProgress() *Progress

func (*TaskStatus) GetState added in v0.6.0

func (x *TaskStatus) GetState() TaskState

func (*TaskStatus) GetTransitions added in v0.6.0

func (x *TaskStatus) GetTransitions() []*StateTransition

func (*TaskStatus) ProtoMessage added in v0.6.0

func (*TaskStatus) ProtoMessage()

func (*TaskStatus) ProtoReflect added in v0.6.0

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

func (*TaskStatus) Reset added in v0.6.0

func (x *TaskStatus) Reset()

func (*TaskStatus) String added in v0.6.0

func (x *TaskStatus) String() string

type TaskTrigger added in v0.6.0

type TaskTrigger int32
const (
	TaskTrigger_Start  TaskTrigger = 0
	TaskTrigger_End    TaskTrigger = 1
	TaskTrigger_Error  TaskTrigger = 2
	TaskTrigger_Cancel TaskTrigger = 3
)

func (TaskTrigger) Descriptor added in v0.6.0

func (TaskTrigger) Enum added in v0.6.0

func (x TaskTrigger) Enum() *TaskTrigger

func (TaskTrigger) EnumDescriptor deprecated added in v0.6.0

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

Deprecated: Use TaskTrigger.Descriptor instead.

func (TaskTrigger) Number added in v0.6.0

func (x TaskTrigger) Number() protoreflect.EnumNumber

func (TaskTrigger) String added in v0.6.0

func (x TaskTrigger) String() string

func (TaskTrigger) Type added in v0.6.0

type TimeRange

type TimeRange struct {
	Start uint64 `protobuf:"varint,1,opt,name=start,proto3" json:"start,omitempty"`
	End   uint64 `protobuf:"varint,2,opt,name=end,proto3" json:"end,omitempty"`
	// contains filtered or unexported fields
}

func (*TimeRange) Descriptor deprecated

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

Deprecated: Use TimeRange.ProtoReflect.Descriptor instead.

func (*TimeRange) GetEnd

func (x *TimeRange) GetEnd() uint64

func (*TimeRange) GetStart

func (x *TimeRange) GetStart() uint64

func (*TimeRange) ProtoMessage

func (*TimeRange) ProtoMessage()

func (*TimeRange) ProtoReflect

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

func (*TimeRange) Reset

func (x *TimeRange) Reset()

func (*TimeRange) String

func (x *TimeRange) String() string

type TimestampedLog added in v0.6.0

type TimestampedLog interface {
	GetTimestamp() *timestamppb.Timestamp
	GetMsg() string
	GetLogLevel() zapcore.Level
}

type TokenCapability

type TokenCapability struct {
	Type      string     `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Reference *Reference `protobuf:"bytes,2,opt,name=reference,proto3" json:"reference,omitempty"`
	// contains filtered or unexported fields
}

func (*TokenCapability) Descriptor deprecated

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

Deprecated: Use TokenCapability.ProtoReflect.Descriptor instead.

func (*TokenCapability) Equal

func (c *TokenCapability) Equal(other *TokenCapability) bool

func (*TokenCapability) GetReference

func (x *TokenCapability) GetReference() *Reference

func (*TokenCapability) GetType

func (x *TokenCapability) GetType() string

func (*TokenCapability) ProtoMessage

func (*TokenCapability) ProtoMessage()

func (*TokenCapability) ProtoReflect

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

func (*TokenCapability) Reset

func (x *TokenCapability) Reset()

func (*TokenCapability) String

func (x *TokenCapability) String() string

func (*TokenCapability) Validate

func (tc *TokenCapability) Validate() error

Jump to

Keyboard shortcuts

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