Documentation ¶
Index ¶
- type Squash
- func (*Squash) Descriptor() ([]byte, []int)
- func (m *Squash) GetAttachmentPollPeriod() *duration.Duration
- func (m *Squash) GetAttachmentTemplate() *_struct.Struct
- func (m *Squash) GetAttachmentTimeout() *duration.Duration
- func (m *Squash) GetCluster() string
- func (m *Squash) GetRequestTimeout() *duration.Duration
- func (*Squash) ProtoMessage()
- func (m *Squash) Reset()
- func (m *Squash) String() string
- func (m *Squash) Validate() error
- func (m *Squash) XXX_DiscardUnknown()
- func (m *Squash) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Squash) XXX_Merge(src proto.Message)
- func (m *Squash) XXX_Size() int
- func (m *Squash) XXX_Unmarshal(b []byte) error
- type SquashValidationError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Squash ¶
type Squash struct { Cluster string `protobuf:"bytes,1,opt,name=cluster,proto3" json:"cluster,omitempty"` AttachmentTemplate *_struct.Struct `protobuf:"bytes,2,opt,name=attachment_template,json=attachmentTemplate,proto3" json:"attachment_template,omitempty"` RequestTimeout *duration.Duration `protobuf:"bytes,3,opt,name=request_timeout,json=requestTimeout,proto3" json:"request_timeout,omitempty"` AttachmentTimeout *duration.Duration `protobuf:"bytes,4,opt,name=attachment_timeout,json=attachmentTimeout,proto3" json:"attachment_timeout,omitempty"` AttachmentPollPeriod *duration.Duration `protobuf:"bytes,5,opt,name=attachment_poll_period,json=attachmentPollPeriod,proto3" json:"attachment_poll_period,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Squash) Descriptor ¶
func (*Squash) GetAttachmentPollPeriod ¶
func (*Squash) GetAttachmentTemplate ¶
func (*Squash) GetAttachmentTimeout ¶
func (*Squash) GetCluster ¶
func (*Squash) GetRequestTimeout ¶
func (*Squash) ProtoMessage ¶
func (*Squash) ProtoMessage()
func (*Squash) Validate ¶
Validate checks the field values on Squash with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*Squash) XXX_DiscardUnknown ¶
func (m *Squash) XXX_DiscardUnknown()
func (*Squash) XXX_Marshal ¶
func (*Squash) XXX_Unmarshal ¶
type SquashValidationError ¶
type SquashValidationError struct {
// contains filtered or unexported fields
}
SquashValidationError is the validation error returned by Squash.Validate if the designated constraints aren't met.
func (SquashValidationError) Cause ¶
func (e SquashValidationError) Cause() error
Cause function returns cause value.
func (SquashValidationError) Error ¶
func (e SquashValidationError) Error() string
Error satisfies the builtin error interface
func (SquashValidationError) ErrorName ¶
func (e SquashValidationError) ErrorName() string
ErrorName returns error name.
func (SquashValidationError) Field ¶
func (e SquashValidationError) Field() string
Field function returns field value.
func (SquashValidationError) Key ¶
func (e SquashValidationError) Key() bool
Key function returns key value.
func (SquashValidationError) Reason ¶
func (e SquashValidationError) Reason() string
Reason function returns reason value.
Click to show internal directories.
Click to hide internal directories.