v1

package
v0.0.15 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2022 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
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

Cause function returns cause value.

func (C1ZDiffOutputValidationError) Error

Error satisfies the builtin error interface

func (C1ZDiffOutputValidationError) ErrorName

func (e C1ZDiffOutputValidationError) ErrorName() string

ErrorName returns error name.

func (C1ZDiffOutputValidationError) Field

Field function returns field value.

func (C1ZDiffOutputValidationError) Key

Key function returns key value.

func (C1ZDiffOutputValidationError) Reason

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

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

Cause function returns cause value.

func (EntitlementDiffValidationError) Error

Error satisfies the builtin error interface

func (EntitlementDiffValidationError) ErrorName

func (e EntitlementDiffValidationError) ErrorName() string

ErrorName returns error name.

func (EntitlementDiffValidationError) Field

Field function returns field value.

func (EntitlementDiffValidationError) Key

Key function returns key value.

func (EntitlementDiffValidationError) Reason

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) Descriptor() ([]byte, []int)

Deprecated: Use GrantDiff.ProtoReflect.Descriptor instead.

func (*GrantDiff) GetCreated

func (x *GrantDiff) GetCreated() []*v2.Grant

func (*GrantDiff) GetDeleted

func (x *GrantDiff) GetDeleted() []*v2.Grant

func (*GrantDiff) GetModified

func (x *GrantDiff) GetModified() []*v2.Grant

func (*GrantDiff) ProtoMessage

func (*GrantDiff) ProtoMessage()

func (*GrantDiff) ProtoReflect

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

func (*GrantDiff) Reset

func (x *GrantDiff) Reset()

func (*GrantDiff) String

func (x *GrantDiff) String() string

func (*GrantDiff) Validate

func (m *GrantDiff) Validate() error

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

func (m *GrantDiff) ValidateAll() error

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

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

Cause function returns cause value.

func (ResourceDiffValidationError) Error

Error satisfies the builtin error interface

func (ResourceDiffValidationError) ErrorName

func (e ResourceDiffValidationError) ErrorName() string

ErrorName returns error name.

func (ResourceDiffValidationError) Field

Field function returns field value.

func (ResourceDiffValidationError) Key

Key function returns key value.

func (ResourceDiffValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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