Documentation ¶
Index ¶
- Variables
- type C1ZDiffOutput
- func (*C1ZDiffOutput) Descriptor() ([]byte, []int)deprecated
- func (x *C1ZDiffOutput) GetEntitlements() *EntitlementDiff
- func (x *C1ZDiffOutput) GetGrants() *GrantDiff
- func (x *C1ZDiffOutput) GetResources() *ResourceDiff
- func (*C1ZDiffOutput) ProtoMessage()
- func (x *C1ZDiffOutput) ProtoReflect() protoreflect.Message
- func (x *C1ZDiffOutput) Reset()
- func (x *C1ZDiffOutput) String() string
- func (m *C1ZDiffOutput) Validate() error
- func (m *C1ZDiffOutput) ValidateAll() error
- type C1ZDiffOutputMultiError
- type C1ZDiffOutputValidationError
- func (e C1ZDiffOutputValidationError) Cause() error
- func (e C1ZDiffOutputValidationError) Error() string
- func (e C1ZDiffOutputValidationError) ErrorName() string
- func (e C1ZDiffOutputValidationError) Field() string
- func (e C1ZDiffOutputValidationError) Key() bool
- func (e C1ZDiffOutputValidationError) Reason() string
- type EntitlementDiff
- func (*EntitlementDiff) Descriptor() ([]byte, []int)deprecated
- func (x *EntitlementDiff) GetCreated() []*v2.Entitlement
- func (x *EntitlementDiff) GetDeleted() []*v2.Entitlement
- func (x *EntitlementDiff) GetModified() []*v2.Entitlement
- func (*EntitlementDiff) ProtoMessage()
- func (x *EntitlementDiff) ProtoReflect() protoreflect.Message
- func (x *EntitlementDiff) Reset()
- func (x *EntitlementDiff) String() string
- func (m *EntitlementDiff) Validate() error
- func (m *EntitlementDiff) ValidateAll() error
- type EntitlementDiffMultiError
- type EntitlementDiffValidationError
- func (e EntitlementDiffValidationError) Cause() error
- func (e EntitlementDiffValidationError) Error() string
- func (e EntitlementDiffValidationError) ErrorName() string
- func (e EntitlementDiffValidationError) Field() string
- func (e EntitlementDiffValidationError) Key() bool
- func (e EntitlementDiffValidationError) Reason() string
- type GrantDiff
- func (*GrantDiff) Descriptor() ([]byte, []int)deprecated
- func (x *GrantDiff) GetCreated() []*v2.Grant
- func (x *GrantDiff) GetDeleted() []*v2.Grant
- func (x *GrantDiff) GetModified() []*v2.Grant
- func (*GrantDiff) ProtoMessage()
- func (x *GrantDiff) ProtoReflect() protoreflect.Message
- func (x *GrantDiff) Reset()
- func (x *GrantDiff) String() string
- func (m *GrantDiff) Validate() error
- func (m *GrantDiff) ValidateAll() error
- type GrantDiffMultiError
- type GrantDiffValidationError
- type ResourceDiff
- func (*ResourceDiff) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceDiff) GetCreated() []*v2.Resource
- func (x *ResourceDiff) GetDeleted() []*v2.Resource
- func (x *ResourceDiff) GetModified() []*v2.Resource
- func (*ResourceDiff) ProtoMessage()
- func (x *ResourceDiff) ProtoReflect() protoreflect.Message
- func (x *ResourceDiff) Reset()
- func (x *ResourceDiff) String() string
- func (m *ResourceDiff) Validate() error
- func (m *ResourceDiff) ValidateAll() error
- type ResourceDiffMultiError
- type ResourceDiffValidationError
- func (e ResourceDiffValidationError) Cause() error
- func (e ResourceDiffValidationError) Error() string
- func (e ResourceDiffValidationError) ErrorName() string
- func (e ResourceDiffValidationError) Field() string
- func (e ResourceDiffValidationError) Key() bool
- func (e ResourceDiffValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var File_c1_c1z_v1_diff_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type C1ZDiffOutput ¶
type C1ZDiffOutput struct { Resources *ResourceDiff `protobuf:"bytes,1,opt,name=resources,proto3" json:"resources,omitempty"` Entitlements *EntitlementDiff `protobuf:"bytes,2,opt,name=entitlements,proto3" json:"entitlements,omitempty"` Grants *GrantDiff `protobuf:"bytes,3,opt,name=grants,proto3" json:"grants,omitempty"` // contains filtered or unexported fields }
func (*C1ZDiffOutput) Descriptor
deprecated
func (*C1ZDiffOutput) Descriptor() ([]byte, []int)
Deprecated: Use C1ZDiffOutput.ProtoReflect.Descriptor instead.
func (*C1ZDiffOutput) GetEntitlements ¶
func (x *C1ZDiffOutput) GetEntitlements() *EntitlementDiff
func (*C1ZDiffOutput) GetGrants ¶
func (x *C1ZDiffOutput) GetGrants() *GrantDiff
func (*C1ZDiffOutput) GetResources ¶
func (x *C1ZDiffOutput) GetResources() *ResourceDiff
func (*C1ZDiffOutput) ProtoMessage ¶
func (*C1ZDiffOutput) ProtoMessage()
func (*C1ZDiffOutput) ProtoReflect ¶
func (x *C1ZDiffOutput) ProtoReflect() protoreflect.Message
func (*C1ZDiffOutput) Reset ¶
func (x *C1ZDiffOutput) Reset()
func (*C1ZDiffOutput) String ¶
func (x *C1ZDiffOutput) String() string
func (*C1ZDiffOutput) Validate ¶
func (m *C1ZDiffOutput) Validate() error
Validate checks the field values on C1ZDiffOutput with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*C1ZDiffOutput) ValidateAll ¶
func (m *C1ZDiffOutput) ValidateAll() error
ValidateAll checks the field values on C1ZDiffOutput with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in C1ZDiffOutputMultiError, or nil if none found.
type C1ZDiffOutputMultiError ¶
type C1ZDiffOutputMultiError []error
C1ZDiffOutputMultiError is an error wrapping multiple validation errors returned by C1ZDiffOutput.ValidateAll() if the designated constraints aren't met.
func (C1ZDiffOutputMultiError) AllErrors ¶
func (m C1ZDiffOutputMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (C1ZDiffOutputMultiError) Error ¶
func (m C1ZDiffOutputMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type C1ZDiffOutputValidationError ¶
type C1ZDiffOutputValidationError struct {
// contains filtered or unexported fields
}
C1ZDiffOutputValidationError is the validation error returned by C1ZDiffOutput.Validate if the designated constraints aren't met.
func (C1ZDiffOutputValidationError) Cause ¶
func (e C1ZDiffOutputValidationError) Cause() error
Cause function returns cause value.
func (C1ZDiffOutputValidationError) Error ¶
func (e C1ZDiffOutputValidationError) Error() string
Error satisfies the builtin error interface
func (C1ZDiffOutputValidationError) ErrorName ¶
func (e C1ZDiffOutputValidationError) ErrorName() string
ErrorName returns error name.
func (C1ZDiffOutputValidationError) Field ¶
func (e C1ZDiffOutputValidationError) Field() string
Field function returns field value.
func (C1ZDiffOutputValidationError) Key ¶
func (e C1ZDiffOutputValidationError) Key() bool
Key function returns key value.
func (C1ZDiffOutputValidationError) Reason ¶
func (e C1ZDiffOutputValidationError) Reason() string
Reason function returns reason value.
type EntitlementDiff ¶
type EntitlementDiff struct { Created []*v2.Entitlement `protobuf:"bytes,1,rep,name=created,proto3" json:"created,omitempty"` Deleted []*v2.Entitlement `protobuf:"bytes,2,rep,name=deleted,proto3" json:"deleted,omitempty"` Modified []*v2.Entitlement `protobuf:"bytes,3,rep,name=modified,proto3" json:"modified,omitempty"` // contains filtered or unexported fields }
func (*EntitlementDiff) Descriptor
deprecated
func (*EntitlementDiff) Descriptor() ([]byte, []int)
Deprecated: Use EntitlementDiff.ProtoReflect.Descriptor instead.
func (*EntitlementDiff) GetCreated ¶
func (x *EntitlementDiff) GetCreated() []*v2.Entitlement
func (*EntitlementDiff) GetDeleted ¶
func (x *EntitlementDiff) GetDeleted() []*v2.Entitlement
func (*EntitlementDiff) GetModified ¶
func (x *EntitlementDiff) GetModified() []*v2.Entitlement
func (*EntitlementDiff) ProtoMessage ¶
func (*EntitlementDiff) ProtoMessage()
func (*EntitlementDiff) ProtoReflect ¶
func (x *EntitlementDiff) ProtoReflect() protoreflect.Message
func (*EntitlementDiff) Reset ¶
func (x *EntitlementDiff) Reset()
func (*EntitlementDiff) String ¶
func (x *EntitlementDiff) String() string
func (*EntitlementDiff) Validate ¶
func (m *EntitlementDiff) Validate() error
Validate checks the field values on EntitlementDiff with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*EntitlementDiff) ValidateAll ¶
func (m *EntitlementDiff) ValidateAll() error
ValidateAll checks the field values on EntitlementDiff with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in EntitlementDiffMultiError, or nil if none found.
type EntitlementDiffMultiError ¶
type EntitlementDiffMultiError []error
EntitlementDiffMultiError is an error wrapping multiple validation errors returned by EntitlementDiff.ValidateAll() if the designated constraints aren't met.
func (EntitlementDiffMultiError) AllErrors ¶
func (m EntitlementDiffMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (EntitlementDiffMultiError) Error ¶
func (m EntitlementDiffMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type EntitlementDiffValidationError ¶
type EntitlementDiffValidationError struct {
// contains filtered or unexported fields
}
EntitlementDiffValidationError is the validation error returned by EntitlementDiff.Validate if the designated constraints aren't met.
func (EntitlementDiffValidationError) Cause ¶
func (e EntitlementDiffValidationError) Cause() error
Cause function returns cause value.
func (EntitlementDiffValidationError) Error ¶
func (e EntitlementDiffValidationError) Error() string
Error satisfies the builtin error interface
func (EntitlementDiffValidationError) ErrorName ¶
func (e EntitlementDiffValidationError) ErrorName() string
ErrorName returns error name.
func (EntitlementDiffValidationError) Field ¶
func (e EntitlementDiffValidationError) Field() string
Field function returns field value.
func (EntitlementDiffValidationError) Key ¶
func (e EntitlementDiffValidationError) Key() bool
Key function returns key value.
func (EntitlementDiffValidationError) Reason ¶
func (e EntitlementDiffValidationError) Reason() string
Reason function returns reason value.
type GrantDiff ¶
type GrantDiff struct { Created []*v2.Grant `protobuf:"bytes,1,rep,name=created,proto3" json:"created,omitempty"` Deleted []*v2.Grant `protobuf:"bytes,2,rep,name=deleted,proto3" json:"deleted,omitempty"` Modified []*v2.Grant `protobuf:"bytes,3,rep,name=modified,proto3" json:"modified,omitempty"` // contains filtered or unexported fields }
func (*GrantDiff) Descriptor
deprecated
func (*GrantDiff) GetCreated ¶
func (*GrantDiff) GetDeleted ¶
func (*GrantDiff) GetModified ¶
func (*GrantDiff) ProtoMessage ¶
func (*GrantDiff) ProtoMessage()
func (*GrantDiff) ProtoReflect ¶
func (x *GrantDiff) ProtoReflect() protoreflect.Message
func (*GrantDiff) Validate ¶
Validate checks the field values on GrantDiff with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GrantDiff) ValidateAll ¶
ValidateAll checks the field values on GrantDiff with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GrantDiffMultiError, or nil if none found.
type GrantDiffMultiError ¶
type GrantDiffMultiError []error
GrantDiffMultiError is an error wrapping multiple validation errors returned by GrantDiff.ValidateAll() if the designated constraints aren't met.
func (GrantDiffMultiError) AllErrors ¶
func (m GrantDiffMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GrantDiffMultiError) Error ¶
func (m GrantDiffMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GrantDiffValidationError ¶
type GrantDiffValidationError struct {
// contains filtered or unexported fields
}
GrantDiffValidationError is the validation error returned by GrantDiff.Validate if the designated constraints aren't met.
func (GrantDiffValidationError) Cause ¶
func (e GrantDiffValidationError) Cause() error
Cause function returns cause value.
func (GrantDiffValidationError) Error ¶
func (e GrantDiffValidationError) Error() string
Error satisfies the builtin error interface
func (GrantDiffValidationError) ErrorName ¶
func (e GrantDiffValidationError) ErrorName() string
ErrorName returns error name.
func (GrantDiffValidationError) Field ¶
func (e GrantDiffValidationError) Field() string
Field function returns field value.
func (GrantDiffValidationError) Key ¶
func (e GrantDiffValidationError) Key() bool
Key function returns key value.
func (GrantDiffValidationError) Reason ¶
func (e GrantDiffValidationError) Reason() string
Reason function returns reason value.
type ResourceDiff ¶
type ResourceDiff struct { Created []*v2.Resource `protobuf:"bytes,1,rep,name=created,proto3" json:"created,omitempty"` Deleted []*v2.Resource `protobuf:"bytes,2,rep,name=deleted,proto3" json:"deleted,omitempty"` Modified []*v2.Resource `protobuf:"bytes,3,rep,name=modified,proto3" json:"modified,omitempty"` // contains filtered or unexported fields }
func (*ResourceDiff) Descriptor
deprecated
func (*ResourceDiff) Descriptor() ([]byte, []int)
Deprecated: Use ResourceDiff.ProtoReflect.Descriptor instead.
func (*ResourceDiff) GetCreated ¶
func (x *ResourceDiff) GetCreated() []*v2.Resource
func (*ResourceDiff) GetDeleted ¶
func (x *ResourceDiff) GetDeleted() []*v2.Resource
func (*ResourceDiff) GetModified ¶
func (x *ResourceDiff) GetModified() []*v2.Resource
func (*ResourceDiff) ProtoMessage ¶
func (*ResourceDiff) ProtoMessage()
func (*ResourceDiff) ProtoReflect ¶
func (x *ResourceDiff) ProtoReflect() protoreflect.Message
func (*ResourceDiff) Reset ¶
func (x *ResourceDiff) Reset()
func (*ResourceDiff) String ¶
func (x *ResourceDiff) String() string
func (*ResourceDiff) Validate ¶
func (m *ResourceDiff) Validate() error
Validate checks the field values on ResourceDiff with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ResourceDiff) ValidateAll ¶
func (m *ResourceDiff) ValidateAll() error
ValidateAll checks the field values on ResourceDiff with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ResourceDiffMultiError, or nil if none found.
type ResourceDiffMultiError ¶
type ResourceDiffMultiError []error
ResourceDiffMultiError is an error wrapping multiple validation errors returned by ResourceDiff.ValidateAll() if the designated constraints aren't met.
func (ResourceDiffMultiError) AllErrors ¶
func (m ResourceDiffMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ResourceDiffMultiError) Error ¶
func (m ResourceDiffMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ResourceDiffValidationError ¶
type ResourceDiffValidationError struct {
// contains filtered or unexported fields
}
ResourceDiffValidationError is the validation error returned by ResourceDiff.Validate if the designated constraints aren't met.
func (ResourceDiffValidationError) Cause ¶
func (e ResourceDiffValidationError) Cause() error
Cause function returns cause value.
func (ResourceDiffValidationError) Error ¶
func (e ResourceDiffValidationError) Error() string
Error satisfies the builtin error interface
func (ResourceDiffValidationError) ErrorName ¶
func (e ResourceDiffValidationError) ErrorName() string
ErrorName returns error name.
func (ResourceDiffValidationError) Field ¶
func (e ResourceDiffValidationError) Field() string
Field function returns field value.
func (ResourceDiffValidationError) Key ¶
func (e ResourceDiffValidationError) Key() bool
Key function returns key value.
func (ResourceDiffValidationError) Reason ¶
func (e ResourceDiffValidationError) Reason() string
Reason function returns reason value.