Documentation
¶
Index ¶
- Variables
- type Condition
- func (*Condition) Descriptor() ([]byte, []int)deprecated
- func (x *Condition) GetLastTransitionTime() *timestamppb.Timestamp
- func (x *Condition) GetMsg() *wrapperspb.StringValue
- func (x *Condition) GetReason() *wrapperspb.StringValue
- func (x *Condition) GetStatus() *wrapperspb.BoolValue
- func (x *Condition) GetType() *wrapperspb.StringValue
- func (*Condition) ProtoMessage()
- func (x *Condition) ProtoReflect() protoreflect.Message
- func (x *Condition) Reset()
- func (x *Condition) String() string
- type ConditionReport
- func (*ConditionReport) Descriptor() ([]byte, []int)deprecated
- func (x *ConditionReport) GetMetadata() map[string]*wrapperspb.StringValue
- func (x *ConditionReport) GetMsg() string
- func (x *ConditionReport) GetObservedAt() *timestamppb.Timestamp
- func (x *ConditionReport) GetObservedGeneration() int64
- func (x *ConditionReport) GetReason() string
- func (x *ConditionReport) GetResourceId() string
- func (x *ConditionReport) GetStatus() ConditionStatus
- func (x *ConditionReport) GetType() string
- func (*ConditionReport) ProtoMessage()
- func (x *ConditionReport) ProtoReflect() protoreflect.Message
- func (x *ConditionReport) Reset()
- func (x *ConditionReport) String() string
- type ConditionStatus
- func (ConditionStatus) Descriptor() protoreflect.EnumDescriptor
- func (x ConditionStatus) Enum() *ConditionStatus
- func (ConditionStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x ConditionStatus) Number() protoreflect.EnumNumber
- func (x ConditionStatus) String() string
- func (ConditionStatus) Type() protoreflect.EnumType
- type Meta
- func (*Meta) Descriptor() ([]byte, []int)deprecated
- func (x *Meta) GetCreated() *timestamppb.Timestamp
- func (x *Meta) GetLabels() map[string]string
- func (x *Meta) GetName() string
- func (x *Meta) GetRevision() uint64
- func (x *Meta) GetUpdated() *timestamppb.Timestamp
- func (*Meta) ProtoMessage()
- func (x *Meta) ProtoReflect() protoreflect.Message
- func (x *Meta) Reset()
- func (x *Meta) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ConditionStatus_name = map[int32]string{ 0: "CONDITION_STATUS_UNSPECIFIED", 1: "CONDITION_STATUS_TRUE", 2: "CONDITION_STATUS_FALSE", 3: "CONDITION_STATUS_UNKNOWN", } ConditionStatus_value = map[string]int32{ "CONDITION_STATUS_UNSPECIFIED": 0, "CONDITION_STATUS_TRUE": 1, "CONDITION_STATUS_FALSE": 2, "CONDITION_STATUS_UNKNOWN": 3, } )
Enum value maps for ConditionStatus.
View Source
var File_types_v1_conditions_proto protoreflect.FileDescriptor
View Source
var File_types_v1_meta_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Condition ¶ added in v0.0.13
type Condition struct {
Type *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
Status *wrapperspb.BoolValue `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
Reason *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=reason,proto3" json:"reason,omitempty"`
Msg *wrapperspb.StringValue `protobuf:"bytes,4,opt,name=msg,proto3" json:"msg,omitempty"`
LastTransitionTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=last_transition_time,json=lastTransitionTime,proto3" json:"last_transition_time,omitempty"`
// contains filtered or unexported fields
}
func (*Condition) Descriptor
deprecated
added in
v0.0.13
func (*Condition) GetLastTransitionTime ¶ added in v0.0.13
func (x *Condition) GetLastTransitionTime() *timestamppb.Timestamp
func (*Condition) GetMsg ¶ added in v0.0.13
func (x *Condition) GetMsg() *wrapperspb.StringValue
func (*Condition) GetReason ¶ added in v0.0.13
func (x *Condition) GetReason() *wrapperspb.StringValue
func (*Condition) GetStatus ¶ added in v0.0.13
func (x *Condition) GetStatus() *wrapperspb.BoolValue
func (*Condition) GetType ¶ added in v0.0.13
func (x *Condition) GetType() *wrapperspb.StringValue
func (*Condition) ProtoMessage ¶ added in v0.0.13
func (*Condition) ProtoMessage()
func (*Condition) ProtoReflect ¶ added in v0.0.13
func (x *Condition) ProtoReflect() protoreflect.Message
type ConditionReport ¶ added in v0.0.13
type ConditionReport struct {
ResourceId string `protobuf:"bytes,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
Status ConditionStatus `protobuf:"varint,4,opt,name=status,proto3,enum=types.v1.ConditionStatus" json:"status,omitempty"`
Reason string `protobuf:"bytes,5,opt,name=reason,proto3" json:"reason,omitempty"`
Msg string `protobuf:"bytes,6,opt,name=msg,proto3" json:"msg,omitempty"`
ObservedGeneration int64 `protobuf:"varint,7,opt,name=observed_generation,json=observedGeneration,proto3" json:"observed_generation,omitempty"`
ObservedAt *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=observed_at,json=observedAt,proto3" json:"observed_at,omitempty"`
Metadata map[string]*wrapperspb.StringValue `` /* 157-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*ConditionReport) Descriptor
deprecated
added in
v0.0.13
func (*ConditionReport) Descriptor() ([]byte, []int)
Deprecated: Use ConditionReport.ProtoReflect.Descriptor instead.
func (*ConditionReport) GetMetadata ¶ added in v0.0.13
func (x *ConditionReport) GetMetadata() map[string]*wrapperspb.StringValue
func (*ConditionReport) GetMsg ¶ added in v0.0.13
func (x *ConditionReport) GetMsg() string
func (*ConditionReport) GetObservedAt ¶ added in v0.0.13
func (x *ConditionReport) GetObservedAt() *timestamppb.Timestamp
func (*ConditionReport) GetObservedGeneration ¶ added in v0.0.13
func (x *ConditionReport) GetObservedGeneration() int64
func (*ConditionReport) GetReason ¶ added in v0.0.13
func (x *ConditionReport) GetReason() string
func (*ConditionReport) GetResourceId ¶ added in v0.0.13
func (x *ConditionReport) GetResourceId() string
func (*ConditionReport) GetStatus ¶ added in v0.0.13
func (x *ConditionReport) GetStatus() ConditionStatus
func (*ConditionReport) GetType ¶ added in v0.0.13
func (x *ConditionReport) GetType() string
func (*ConditionReport) ProtoMessage ¶ added in v0.0.13
func (*ConditionReport) ProtoMessage()
func (*ConditionReport) ProtoReflect ¶ added in v0.0.13
func (x *ConditionReport) ProtoReflect() protoreflect.Message
func (*ConditionReport) Reset ¶ added in v0.0.13
func (x *ConditionReport) Reset()
func (*ConditionReport) String ¶ added in v0.0.13
func (x *ConditionReport) String() string
type ConditionStatus ¶ added in v0.0.13
type ConditionStatus int32
const ( ConditionStatus_CONDITION_STATUS_UNSPECIFIED ConditionStatus = 0 ConditionStatus_CONDITION_STATUS_TRUE ConditionStatus = 1 ConditionStatus_CONDITION_STATUS_FALSE ConditionStatus = 2 ConditionStatus_CONDITION_STATUS_UNKNOWN ConditionStatus = 3 )
func (ConditionStatus) Descriptor ¶ added in v0.0.13
func (ConditionStatus) Descriptor() protoreflect.EnumDescriptor
func (ConditionStatus) Enum ¶ added in v0.0.13
func (x ConditionStatus) Enum() *ConditionStatus
func (ConditionStatus) EnumDescriptor
deprecated
added in
v0.0.13
func (ConditionStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use ConditionStatus.Descriptor instead.
func (ConditionStatus) Number ¶ added in v0.0.13
func (x ConditionStatus) Number() protoreflect.EnumNumber
func (ConditionStatus) String ¶ added in v0.0.13
func (x ConditionStatus) String() string
func (ConditionStatus) Type ¶ added in v0.0.13
func (ConditionStatus) Type() protoreflect.EnumType
type Meta ¶
type Meta struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Labels map[string]string `` /* 153-byte string literal not displayed */
Created *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created,proto3" json:"created,omitempty"`
Updated *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=updated,proto3" json:"updated,omitempty"`
Revision uint64 `protobuf:"varint,5,opt,name=revision,proto3" json:"revision,omitempty"`
// contains filtered or unexported fields
}
func (*Meta) Descriptor
deprecated
func (*Meta) GetCreated ¶
func (x *Meta) GetCreated() *timestamppb.Timestamp
func (*Meta) GetRevision ¶
func (*Meta) GetUpdated ¶
func (x *Meta) GetUpdated() *timestamppb.Timestamp
func (*Meta) ProtoMessage ¶
func (*Meta) ProtoMessage()
func (*Meta) ProtoReflect ¶
func (x *Meta) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.