api

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2021 License: Apache-2.0 Imports: 21 Imported by: 2

Documentation

Overview

Package api is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthApi        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowApi          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupApi = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthCommon        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowCommon          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupCommon = fmt.Errorf("proto: unexpected end of group")
)
View Source
var ActivityDataObject_Status_name = map[int32]string{
	0: "Invalid",
	1: "Inprogress",
	2: "Success",
	3: "Failed",
	4: "Deleting",
	5: "Deleted",
}
View Source
var ActivityDataObject_Status_value = map[string]int32{
	"Invalid":    0,
	"Inprogress": 1,
	"Success":    2,
	"Failed":     3,
	"Deleting":   4,
	"Deleted":    5,
}
View Source
var ActivityEnumerateRequest_Interval_name = map[int32]string{
	0: "Invalid",
	1: "Hourly",
	2: "Daily",
}
View Source
var ActivityEnumerateRequest_Interval_value = map[string]int32{
	"Invalid": 0,
	"Hourly":  1,
	"Daily":   2,
}
View Source
var BackupInfo_Stage_name = map[int32]string{
	0: "Invalid",
	1: "Initial",
	2: "PreExecRule",
	3: "PostExecRule",
	4: "Volumes",
	5: "Applications",
	6: "Final",
}
View Source
var BackupInfo_Stage_value = map[string]int32{
	"Invalid":      0,
	"Initial":      1,
	"PreExecRule":  2,
	"PostExecRule": 3,
	"Volumes":      4,
	"Applications": 5,
	"Final":        6,
}
View Source
var BackupInfo_StatusInfo_Status_name = map[int32]string{
	0:  "Invalid",
	1:  "Pending",
	2:  "InProgress",
	3:  "Aborted",
	4:  "Failed",
	5:  "Deleting",
	6:  "Success",
	7:  "Captured",
	8:  "PartialSuccess",
	9:  "DeletePending",
	10: "CloudBackupMissing",
}
View Source
var BackupInfo_StatusInfo_Status_value = map[string]int32{
	"Invalid":            0,
	"Pending":            1,
	"InProgress":         2,
	"Aborted":            3,
	"Failed":             4,
	"Deleting":           5,
	"Success":            6,
	"Captured":           7,
	"PartialSuccess":     8,
	"DeletePending":      9,
	"CloudBackupMissing": 10,
}
View Source
var BackupLocationInfo_StatusInfo_Status_name = map[int32]string{
	0: "Invalid",
	1: "Valid",
	2: "DeletePending",
}
View Source
var BackupLocationInfo_StatusInfo_Status_value = map[string]int32{
	"Invalid":       0,
	"Valid":         1,
	"DeletePending": 2,
}
View Source
var BackupLocationInfo_Type_name = map[int32]string{
	0: "Invalid",
	1: "S3",
	2: "Azure",
	3: "Google",
}
View Source
var BackupLocationInfo_Type_value = map[string]int32{
	"Invalid": 0,
	"S3":      1,
	"Azure":   2,
	"Google":  3,
}
View Source
var BackupScheduleInfo_ReclaimPolicyType_name = map[int32]string{
	0: "Invalid",
	1: "Delete",
	2: "Retain",
}
View Source
var BackupScheduleInfo_ReclaimPolicyType_value = map[string]int32{
	"Invalid": 0,
	"Delete":  1,
	"Retain":  2,
}
View Source
var BackupScheduleInfo_StatusInfo_Status_name = map[int32]string{
	0: "Invalid",
	1: "Pending",
	2: "InProgress",
	3: "Aborted",
	4: "Failed",
	5: "Deleting",
	6: "Success",
	7: "Captured",
	8: "PartialSuccess",
	9: "DeletePending",
}
View Source
var BackupScheduleInfo_StatusInfo_Status_value = map[string]int32{
	"Invalid":        0,
	"Pending":        1,
	"InProgress":     2,
	"Aborted":        3,
	"Failed":         4,
	"Deleting":       5,
	"Success":        6,
	"Captured":       7,
	"PartialSuccess": 8,
	"DeletePending":  9,
}
View Source
var BackupScheduleInfo_SuspendedBy_Source_name = map[int32]string{
	0: "Invalid",
	1: "User",
	2: "LicenseCheck",
}
View Source
var BackupScheduleInfo_SuspendedBy_Source_value = map[string]int32{
	"Invalid":      0,
	"User":         1,
	"LicenseCheck": 2,
}
View Source
var CloudCredentialInfo_Type_name = map[int32]string{
	0: "Invalid",
	1: "AWS",
	2: "Azure",
	3: "Google",
	4: "IBM",
}
View Source
var CloudCredentialInfo_Type_value = map[string]int32{
	"Invalid": 0,
	"AWS":     1,
	"Azure":   2,
	"Google":  3,
	"IBM":     4,
}
View Source
var ClusterInfo_StatusInfo_Status_name = map[int32]string{
	0: "Invalid",
	1: "Online",
	2: "Offline",
	3: "DeletePending",
}
View Source
var ClusterInfo_StatusInfo_Status_value = map[string]int32{
	"Invalid":       0,
	"Online":        1,
	"Offline":       2,
	"DeletePending": 3,
}
View Source
var LicenseType_name = map[int32]string{
	0: "Invalid",
	1: "Trial",
	2: "Enterprise",
	3: "UsageBased",
	4: "IBM",
	5: "AWS",
	6: "GCP",
}
View Source
var LicenseType_value = map[string]int32{
	"Invalid":    0,
	"Trial":      1,
	"Enterprise": 2,
	"UsageBased": 3,
	"IBM":        4,
	"AWS":        5,
	"GCP":        6,
}
View Source
var Ownership_AccessType_name = map[int32]string{
	0: "Invalid",
	1: "Read",
	2: "Write",
	3: "Admin",
}
View Source
var Ownership_AccessType_value = map[string]int32{
	"Invalid": 0,
	"Read":    1,
	"Write":   2,
	"Admin":   3,
}
View Source
var ReplacePolicy_Type_name = map[int32]string{
	0: "Invalid",
	1: "Retain",
	2: "Delete",
}
View Source
var ReplacePolicy_Type_value = map[string]int32{
	"Invalid": 0,
	"Retain":  1,
	"Delete":  2,
}
View Source
var RestoreInfo_StatusInfo_Status_name = map[int32]string{
	0: "Invalid",
	1: "Pending",
	2: "InProgress",
	3: "Aborted",
	4: "Failed",
	5: "Deleting",
	6: "Success",
	7: "Retained",
	8: "PartialSuccess",
}
View Source
var RestoreInfo_StatusInfo_Status_value = map[string]int32{
	"Invalid":        0,
	"Pending":        1,
	"InProgress":     2,
	"Aborted":        3,
	"Failed":         4,
	"Deleting":       5,
	"Success":        6,
	"Retained":       7,
	"PartialSuccess": 8,
}

Functions

func RegisterActivityTimeLineHandler added in v1.2.1

func RegisterActivityTimeLineHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterActivityTimeLineHandler registers the http handlers for service ActivityTimeLine to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterActivityTimeLineHandlerClient added in v1.2.1

func RegisterActivityTimeLineHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ActivityTimeLineClient) error

RegisterActivityTimeLineHandlerClient registers the http handlers for service ActivityTimeLine to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "ActivityTimeLineClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "ActivityTimeLineClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "ActivityTimeLineClient" to call the correct interceptors.

func RegisterActivityTimeLineHandlerFromEndpoint added in v1.2.1

func RegisterActivityTimeLineHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterActivityTimeLineHandlerFromEndpoint is same as RegisterActivityTimeLineHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterActivityTimeLineHandlerServer added in v1.2.1

func RegisterActivityTimeLineHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ActivityTimeLineServer) error

RegisterActivityTimeLineHandlerServer registers the http handlers for service ActivityTimeLine to "mux". UnaryRPC :call ActivityTimeLineServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterActivityTimeLineHandlerFromEndpoint instead.

func RegisterActivityTimeLineServer added in v1.2.1

func RegisterActivityTimeLineServer(s *grpc.Server, srv ActivityTimeLineServer)

func RegisterBackupHandler

func RegisterBackupHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterBackupHandler registers the http handlers for service Backup to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterBackupHandlerClient

func RegisterBackupHandlerClient(ctx context.Context, mux *runtime.ServeMux, client BackupClient) error

RegisterBackupHandlerClient registers the http handlers for service Backup to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "BackupClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "BackupClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "BackupClient" to call the correct interceptors.

func RegisterBackupHandlerFromEndpoint

func RegisterBackupHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterBackupHandlerFromEndpoint is same as RegisterBackupHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterBackupHandlerServer

func RegisterBackupHandlerServer(ctx context.Context, mux *runtime.ServeMux, server BackupServer) error

RegisterBackupHandlerServer registers the http handlers for service Backup to "mux". UnaryRPC :call BackupServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterBackupHandlerFromEndpoint instead.

func RegisterBackupLocationHandler

func RegisterBackupLocationHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterBackupLocationHandler registers the http handlers for service BackupLocation to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterBackupLocationHandlerClient

func RegisterBackupLocationHandlerClient(ctx context.Context, mux *runtime.ServeMux, client BackupLocationClient) error

RegisterBackupLocationHandlerClient registers the http handlers for service BackupLocation to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "BackupLocationClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "BackupLocationClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "BackupLocationClient" to call the correct interceptors.

func RegisterBackupLocationHandlerFromEndpoint

func RegisterBackupLocationHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterBackupLocationHandlerFromEndpoint is same as RegisterBackupLocationHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterBackupLocationHandlerServer

func RegisterBackupLocationHandlerServer(ctx context.Context, mux *runtime.ServeMux, server BackupLocationServer) error

RegisterBackupLocationHandlerServer registers the http handlers for service BackupLocation to "mux". UnaryRPC :call BackupLocationServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterBackupLocationHandlerFromEndpoint instead.

func RegisterBackupLocationServer

func RegisterBackupLocationServer(s *grpc.Server, srv BackupLocationServer)

func RegisterBackupScheduleHandler

func RegisterBackupScheduleHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterBackupScheduleHandler registers the http handlers for service BackupSchedule to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterBackupScheduleHandlerClient

func RegisterBackupScheduleHandlerClient(ctx context.Context, mux *runtime.ServeMux, client BackupScheduleClient) error

RegisterBackupScheduleHandlerClient registers the http handlers for service BackupSchedule to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "BackupScheduleClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "BackupScheduleClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "BackupScheduleClient" to call the correct interceptors.

func RegisterBackupScheduleHandlerFromEndpoint

func RegisterBackupScheduleHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterBackupScheduleHandlerFromEndpoint is same as RegisterBackupScheduleHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterBackupScheduleHandlerServer

func RegisterBackupScheduleHandlerServer(ctx context.Context, mux *runtime.ServeMux, server BackupScheduleServer) error

RegisterBackupScheduleHandlerServer registers the http handlers for service BackupSchedule to "mux". UnaryRPC :call BackupScheduleServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterBackupScheduleHandlerFromEndpoint instead.

func RegisterBackupScheduleServer

func RegisterBackupScheduleServer(s *grpc.Server, srv BackupScheduleServer)

func RegisterBackupServer

func RegisterBackupServer(s *grpc.Server, srv BackupServer)

func RegisterCloudCredentialHandler

func RegisterCloudCredentialHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterCloudCredentialHandler registers the http handlers for service CloudCredential to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterCloudCredentialHandlerClient

func RegisterCloudCredentialHandlerClient(ctx context.Context, mux *runtime.ServeMux, client CloudCredentialClient) error

RegisterCloudCredentialHandlerClient registers the http handlers for service CloudCredential to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "CloudCredentialClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "CloudCredentialClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "CloudCredentialClient" to call the correct interceptors.

func RegisterCloudCredentialHandlerFromEndpoint

func RegisterCloudCredentialHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterCloudCredentialHandlerFromEndpoint is same as RegisterCloudCredentialHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterCloudCredentialHandlerServer

func RegisterCloudCredentialHandlerServer(ctx context.Context, mux *runtime.ServeMux, server CloudCredentialServer) error

RegisterCloudCredentialHandlerServer registers the http handlers for service CloudCredential to "mux". UnaryRPC :call CloudCredentialServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterCloudCredentialHandlerFromEndpoint instead.

func RegisterCloudCredentialServer

func RegisterCloudCredentialServer(s *grpc.Server, srv CloudCredentialServer)

func RegisterClusterHandler

func RegisterClusterHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterClusterHandler registers the http handlers for service Cluster to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterClusterHandlerClient

func RegisterClusterHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ClusterClient) error

RegisterClusterHandlerClient registers the http handlers for service Cluster to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "ClusterClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "ClusterClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "ClusterClient" to call the correct interceptors.

func RegisterClusterHandlerFromEndpoint

func RegisterClusterHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterClusterHandlerFromEndpoint is same as RegisterClusterHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterClusterHandlerServer

func RegisterClusterHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ClusterServer) error

RegisterClusterHandlerServer registers the http handlers for service Cluster to "mux". UnaryRPC :call ClusterServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterClusterHandlerFromEndpoint instead.

func RegisterClusterServer

func RegisterClusterServer(s *grpc.Server, srv ClusterServer)

func RegisterHealthHandler

func RegisterHealthHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterHealthHandler registers the http handlers for service Health to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterHealthHandlerClient

func RegisterHealthHandlerClient(ctx context.Context, mux *runtime.ServeMux, client HealthClient) error

RegisterHealthHandlerClient registers the http handlers for service Health to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "HealthClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "HealthClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "HealthClient" to call the correct interceptors.

func RegisterHealthHandlerFromEndpoint

func RegisterHealthHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterHealthHandlerFromEndpoint is same as RegisterHealthHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterHealthHandlerServer

func RegisterHealthHandlerServer(ctx context.Context, mux *runtime.ServeMux, server HealthServer) error

RegisterHealthHandlerServer registers the http handlers for service Health to "mux". UnaryRPC :call HealthServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterHealthHandlerFromEndpoint instead.

func RegisterHealthServer

func RegisterHealthServer(s *grpc.Server, srv HealthServer)

func RegisterLicenseHandler

func RegisterLicenseHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterLicenseHandler registers the http handlers for service License to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterLicenseHandlerClient

func RegisterLicenseHandlerClient(ctx context.Context, mux *runtime.ServeMux, client LicenseClient) error

RegisterLicenseHandlerClient registers the http handlers for service License to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "LicenseClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "LicenseClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "LicenseClient" to call the correct interceptors.

func RegisterLicenseHandlerFromEndpoint

func RegisterLicenseHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterLicenseHandlerFromEndpoint is same as RegisterLicenseHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterLicenseHandlerServer

func RegisterLicenseHandlerServer(ctx context.Context, mux *runtime.ServeMux, server LicenseServer) error

RegisterLicenseHandlerServer registers the http handlers for service License to "mux". UnaryRPC :call LicenseServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterLicenseHandlerFromEndpoint instead.

func RegisterLicenseServer

func RegisterLicenseServer(s *grpc.Server, srv LicenseServer)

func RegisterMetricsHandler

func RegisterMetricsHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterMetricsHandler registers the http handlers for service Metrics to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterMetricsHandlerClient

func RegisterMetricsHandlerClient(ctx context.Context, mux *runtime.ServeMux, client MetricsClient) error

RegisterMetricsHandlerClient registers the http handlers for service Metrics to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "MetricsClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "MetricsClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "MetricsClient" to call the correct interceptors.

func RegisterMetricsHandlerFromEndpoint

func RegisterMetricsHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterMetricsHandlerFromEndpoint is same as RegisterMetricsHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterMetricsHandlerServer

func RegisterMetricsHandlerServer(ctx context.Context, mux *runtime.ServeMux, server MetricsServer) error

RegisterMetricsHandlerServer registers the http handlers for service Metrics to "mux". UnaryRPC :call MetricsServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterMetricsHandlerFromEndpoint instead.

func RegisterMetricsServer

func RegisterMetricsServer(s *grpc.Server, srv MetricsServer)

func RegisterOrganizationHandler

func RegisterOrganizationHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterOrganizationHandler registers the http handlers for service Organization to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterOrganizationHandlerClient

func RegisterOrganizationHandlerClient(ctx context.Context, mux *runtime.ServeMux, client OrganizationClient) error

RegisterOrganizationHandlerClient registers the http handlers for service Organization to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "OrganizationClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "OrganizationClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "OrganizationClient" to call the correct interceptors.

func RegisterOrganizationHandlerFromEndpoint

func RegisterOrganizationHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterOrganizationHandlerFromEndpoint is same as RegisterOrganizationHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterOrganizationHandlerServer

func RegisterOrganizationHandlerServer(ctx context.Context, mux *runtime.ServeMux, server OrganizationServer) error

RegisterOrganizationHandlerServer registers the http handlers for service Organization to "mux". UnaryRPC :call OrganizationServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterOrganizationHandlerFromEndpoint instead.

func RegisterOrganizationServer

func RegisterOrganizationServer(s *grpc.Server, srv OrganizationServer)

func RegisterRestoreHandler

func RegisterRestoreHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterRestoreHandler registers the http handlers for service Restore to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterRestoreHandlerClient

func RegisterRestoreHandlerClient(ctx context.Context, mux *runtime.ServeMux, client RestoreClient) error

RegisterRestoreHandlerClient registers the http handlers for service Restore to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "RestoreClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "RestoreClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "RestoreClient" to call the correct interceptors.

func RegisterRestoreHandlerFromEndpoint

func RegisterRestoreHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterRestoreHandlerFromEndpoint is same as RegisterRestoreHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterRestoreHandlerServer

func RegisterRestoreHandlerServer(ctx context.Context, mux *runtime.ServeMux, server RestoreServer) error

RegisterRestoreHandlerServer registers the http handlers for service Restore to "mux". UnaryRPC :call RestoreServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterRestoreHandlerFromEndpoint instead.

func RegisterRestoreServer

func RegisterRestoreServer(s *grpc.Server, srv RestoreServer)

func RegisterRoleHandler added in v1.2.1

func RegisterRoleHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterRoleHandler registers the http handlers for service Role to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterRoleHandlerClient added in v1.2.1

func RegisterRoleHandlerClient(ctx context.Context, mux *runtime.ServeMux, client RoleClient) error

RegisterRoleHandlerClient registers the http handlers for service Role to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "RoleClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "RoleClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "RoleClient" to call the correct interceptors.

func RegisterRoleHandlerFromEndpoint added in v1.2.1

func RegisterRoleHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterRoleHandlerFromEndpoint is same as RegisterRoleHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterRoleHandlerServer added in v1.2.1

func RegisterRoleHandlerServer(ctx context.Context, mux *runtime.ServeMux, server RoleServer) error

RegisterRoleHandlerServer registers the http handlers for service Role to "mux". UnaryRPC :call RoleServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterRoleHandlerFromEndpoint instead.

func RegisterRoleServer added in v1.2.1

func RegisterRoleServer(s *grpc.Server, srv RoleServer)

func RegisterRulesHandler

func RegisterRulesHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterRulesHandler registers the http handlers for service Rules to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterRulesHandlerClient

func RegisterRulesHandlerClient(ctx context.Context, mux *runtime.ServeMux, client RulesClient) error

RegisterRulesHandlerClient registers the http handlers for service Rules to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "RulesClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "RulesClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "RulesClient" to call the correct interceptors.

func RegisterRulesHandlerFromEndpoint

func RegisterRulesHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterRulesHandlerFromEndpoint is same as RegisterRulesHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterRulesHandlerServer

func RegisterRulesHandlerServer(ctx context.Context, mux *runtime.ServeMux, server RulesServer) error

RegisterRulesHandlerServer registers the http handlers for service Rules to "mux". UnaryRPC :call RulesServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterRulesHandlerFromEndpoint instead.

func RegisterRulesServer

func RegisterRulesServer(s *grpc.Server, srv RulesServer)

func RegisterSchedulePolicyHandler

func RegisterSchedulePolicyHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterSchedulePolicyHandler registers the http handlers for service SchedulePolicy to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterSchedulePolicyHandlerClient

func RegisterSchedulePolicyHandlerClient(ctx context.Context, mux *runtime.ServeMux, client SchedulePolicyClient) error

RegisterSchedulePolicyHandlerClient registers the http handlers for service SchedulePolicy to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "SchedulePolicyClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "SchedulePolicyClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "SchedulePolicyClient" to call the correct interceptors.

func RegisterSchedulePolicyHandlerFromEndpoint

func RegisterSchedulePolicyHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterSchedulePolicyHandlerFromEndpoint is same as RegisterSchedulePolicyHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterSchedulePolicyHandlerServer

func RegisterSchedulePolicyHandlerServer(ctx context.Context, mux *runtime.ServeMux, server SchedulePolicyServer) error

RegisterSchedulePolicyHandlerServer registers the http handlers for service SchedulePolicy to "mux". UnaryRPC :call SchedulePolicyServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterSchedulePolicyHandlerFromEndpoint instead.

func RegisterSchedulePolicyServer

func RegisterSchedulePolicyServer(s *grpc.Server, srv SchedulePolicyServer)

func RegisterVersionHandler

func RegisterVersionHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterVersionHandler registers the http handlers for service Version to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterVersionHandlerClient

func RegisterVersionHandlerClient(ctx context.Context, mux *runtime.ServeMux, client VersionClient) error

RegisterVersionHandlerClient registers the http handlers for service Version to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "VersionClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "VersionClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "VersionClient" to call the correct interceptors.

func RegisterVersionHandlerFromEndpoint

func RegisterVersionHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterVersionHandlerFromEndpoint is same as RegisterVersionHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterVersionHandlerServer

func RegisterVersionHandlerServer(ctx context.Context, mux *runtime.ServeMux, server VersionServer) error

RegisterVersionHandlerServer registers the http handlers for service Version to "mux". UnaryRPC :call VersionServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterVersionHandlerFromEndpoint instead.

func RegisterVersionServer

func RegisterVersionServer(s *grpc.Server, srv VersionServer)

Types

type AWSConfig

type AWSConfig struct {
	AccessKey string `protobuf:"bytes,1,opt,name=access_key,json=accessKey,proto3" json:"accesskey"`
	SecretKey string `protobuf:"bytes,2,opt,name=secret_key,json=secretKey,proto3" json:"secretkey" secure:"true"`
}

func NewPopulatedAWSConfig

func NewPopulatedAWSConfig(r randyApi, easy bool) *AWSConfig

func (*AWSConfig) Descriptor

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

func (*AWSConfig) Equal

func (this *AWSConfig) Equal(that interface{}) bool

func (*AWSConfig) GetAccessKey

func (m *AWSConfig) GetAccessKey() string

func (*AWSConfig) GetSecretKey

func (m *AWSConfig) GetSecretKey() string

func (*AWSConfig) Marshal

func (m *AWSConfig) Marshal() (dAtA []byte, err error)

func (*AWSConfig) MarshalTo

func (m *AWSConfig) MarshalTo(dAtA []byte) (int, error)

func (*AWSConfig) MarshalToSizedBuffer

func (m *AWSConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AWSConfig) ProtoMessage

func (*AWSConfig) ProtoMessage()

func (*AWSConfig) Reset

func (m *AWSConfig) Reset()

func (*AWSConfig) Size

func (m *AWSConfig) Size() (n int)

func (*AWSConfig) String

func (m *AWSConfig) String() string

func (*AWSConfig) Unmarshal

func (m *AWSConfig) Unmarshal(dAtA []byte) error

func (*AWSConfig) XXX_DiscardUnknown

func (m *AWSConfig) XXX_DiscardUnknown()

func (*AWSConfig) XXX_Marshal

func (m *AWSConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AWSConfig) XXX_Merge

func (m *AWSConfig) XXX_Merge(src proto.Message)

func (*AWSConfig) XXX_Size

func (m *AWSConfig) XXX_Size() int

func (*AWSConfig) XXX_Unmarshal

func (m *AWSConfig) XXX_Unmarshal(b []byte) error

type ActivityDataObject added in v1.2.1

type ActivityDataObject struct {
	*Metadata `protobuf:"bytes,1,opt,name=metadata,proto3,embedded=metadata" json:"metadata,omitempty"`
	Kind      string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"`
	// Final status of activity
	Status ActivityDataObject_Status `protobuf:"varint,3,opt,name=status,proto3,enum=ActivityDataObject_Status" json:"status,omitempty"`
	// Completion time in seconds
	CompletionTime float64 `protobuf:"fixed64,4,opt,name=completion_time,json=completionTime,proto3" json:"completion_time,omitempty"`
	// Captures transistion times between different status
	Opcycle []*ActivityDataObject_Opcycle `protobuf:"bytes,5,rep,name=opcycle,proto3" json:"opcycle,omitempty"`
	Cluster string                        `protobuf:"bytes,6,opt,name=cluster,proto3" json:"cluster,omitempty"`
}

ActivityDataObject defines activity data to be stored

func NewPopulatedActivityDataObject added in v1.2.1

func NewPopulatedActivityDataObject(r randyApi, easy bool) *ActivityDataObject

func (*ActivityDataObject) Descriptor added in v1.2.1

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

func (*ActivityDataObject) Equal added in v1.2.1

func (this *ActivityDataObject) Equal(that interface{}) bool

func (*ActivityDataObject) GetCluster added in v1.2.1

func (m *ActivityDataObject) GetCluster() string

func (*ActivityDataObject) GetCompletionTime added in v1.2.1

func (m *ActivityDataObject) GetCompletionTime() float64

func (*ActivityDataObject) GetKind added in v1.2.1

func (m *ActivityDataObject) GetKind() string

func (*ActivityDataObject) GetOpcycle added in v1.2.1

func (*ActivityDataObject) GetStatus added in v1.2.1

func (*ActivityDataObject) Marshal added in v1.2.1

func (m *ActivityDataObject) Marshal() (dAtA []byte, err error)

func (*ActivityDataObject) MarshalTo added in v1.2.1

func (m *ActivityDataObject) MarshalTo(dAtA []byte) (int, error)

func (*ActivityDataObject) MarshalToSizedBuffer added in v1.2.1

func (m *ActivityDataObject) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ActivityDataObject) ProtoMessage added in v1.2.1

func (*ActivityDataObject) ProtoMessage()

func (*ActivityDataObject) Reset added in v1.2.1

func (m *ActivityDataObject) Reset()

func (*ActivityDataObject) Size added in v1.2.1

func (m *ActivityDataObject) Size() (n int)

func (*ActivityDataObject) String added in v1.2.1

func (m *ActivityDataObject) String() string

func (*ActivityDataObject) Unmarshal added in v1.2.1

func (m *ActivityDataObject) Unmarshal(dAtA []byte) error

func (*ActivityDataObject) XXX_DiscardUnknown added in v1.2.1

func (m *ActivityDataObject) XXX_DiscardUnknown()

func (*ActivityDataObject) XXX_Marshal added in v1.2.1

func (m *ActivityDataObject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ActivityDataObject) XXX_Merge added in v1.2.1

func (m *ActivityDataObject) XXX_Merge(src proto.Message)

func (*ActivityDataObject) XXX_Size added in v1.2.1

func (m *ActivityDataObject) XXX_Size() int

func (*ActivityDataObject) XXX_Unmarshal added in v1.2.1

func (m *ActivityDataObject) XXX_Unmarshal(b []byte) error

type ActivityDataObject_Opcycle added in v1.2.1

type ActivityDataObject_Opcycle struct {
	StartTime       *types.Timestamp          `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	LastUpdatedTime *types.Timestamp          `protobuf:"bytes,2,opt,name=last_updated_time,json=lastUpdatedTime,proto3" json:"last_updated_time,omitempty"`
	Status          ActivityDataObject_Status `protobuf:"varint,3,opt,name=status,proto3,enum=ActivityDataObject_Status" json:"status,omitempty"`
}

func NewPopulatedActivityDataObject_Opcycle added in v1.2.1

func NewPopulatedActivityDataObject_Opcycle(r randyApi, easy bool) *ActivityDataObject_Opcycle

func (*ActivityDataObject_Opcycle) Descriptor added in v1.2.1

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

func (*ActivityDataObject_Opcycle) Equal added in v1.2.1

func (this *ActivityDataObject_Opcycle) Equal(that interface{}) bool

func (*ActivityDataObject_Opcycle) GetLastUpdatedTime added in v1.2.1

func (m *ActivityDataObject_Opcycle) GetLastUpdatedTime() *types.Timestamp

func (*ActivityDataObject_Opcycle) GetStartTime added in v1.2.1

func (m *ActivityDataObject_Opcycle) GetStartTime() *types.Timestamp

func (*ActivityDataObject_Opcycle) GetStatus added in v1.2.1

func (*ActivityDataObject_Opcycle) Marshal added in v1.2.1

func (m *ActivityDataObject_Opcycle) Marshal() (dAtA []byte, err error)

func (*ActivityDataObject_Opcycle) MarshalTo added in v1.2.1

func (m *ActivityDataObject_Opcycle) MarshalTo(dAtA []byte) (int, error)

func (*ActivityDataObject_Opcycle) MarshalToSizedBuffer added in v1.2.1

func (m *ActivityDataObject_Opcycle) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ActivityDataObject_Opcycle) ProtoMessage added in v1.2.1

func (*ActivityDataObject_Opcycle) ProtoMessage()

func (*ActivityDataObject_Opcycle) Reset added in v1.2.1

func (m *ActivityDataObject_Opcycle) Reset()

func (*ActivityDataObject_Opcycle) Size added in v1.2.1

func (m *ActivityDataObject_Opcycle) Size() (n int)

func (*ActivityDataObject_Opcycle) String added in v1.2.1

func (m *ActivityDataObject_Opcycle) String() string

func (*ActivityDataObject_Opcycle) Unmarshal added in v1.2.1

func (m *ActivityDataObject_Opcycle) Unmarshal(dAtA []byte) error

func (*ActivityDataObject_Opcycle) XXX_DiscardUnknown added in v1.2.1

func (m *ActivityDataObject_Opcycle) XXX_DiscardUnknown()

func (*ActivityDataObject_Opcycle) XXX_Marshal added in v1.2.1

func (m *ActivityDataObject_Opcycle) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ActivityDataObject_Opcycle) XXX_Merge added in v1.2.1

func (m *ActivityDataObject_Opcycle) XXX_Merge(src proto.Message)

func (*ActivityDataObject_Opcycle) XXX_Size added in v1.2.1

func (m *ActivityDataObject_Opcycle) XXX_Size() int

func (*ActivityDataObject_Opcycle) XXX_Unmarshal added in v1.2.1

func (m *ActivityDataObject_Opcycle) XXX_Unmarshal(b []byte) error

type ActivityDataObject_Status added in v1.2.1

type ActivityDataObject_Status int32
const (
	ActivityDataObject_Invalid    ActivityDataObject_Status = 0
	ActivityDataObject_Inprogress ActivityDataObject_Status = 1
	ActivityDataObject_Success    ActivityDataObject_Status = 2
	ActivityDataObject_Failed     ActivityDataObject_Status = 3
	ActivityDataObject_Deleting   ActivityDataObject_Status = 4
	ActivityDataObject_Deleted    ActivityDataObject_Status = 5
)

func (ActivityDataObject_Status) EnumDescriptor added in v1.2.1

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

func (ActivityDataObject_Status) String added in v1.2.1

func (x ActivityDataObject_Status) String() string

type ActivityEnumerateRequest added in v1.2.1

type ActivityEnumerateRequest struct {
	OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
	// Time period for which activity is needed
	Days int32 `protobuf:"varint,2,opt,name=days,proto3" json:"days,omitempty"`
	// Interval for which we want the activity
	// For now Hourly and Daily are supported
	Interval ActivityEnumerateRequest_Interval `protobuf:"varint,3,opt,name=interval,proto3,enum=ActivityEnumerateRequest_Interval" json:"interval,omitempty"`
	TimeZone string                            `protobuf:"bytes,4,opt,name=time_zone,json=timeZone,proto3" json:"time_zone,omitempty"`
	Cluster  string                            `protobuf:"bytes,5,opt,name=cluster,proto3" json:"cluster,omitempty"`
	// For which type of Actvity data eg: backup, restore, etc..
	Kind string `protobuf:"bytes,6,opt,name=kind,proto3" json:"kind,omitempty"`
}

func NewPopulatedActivityEnumerateRequest added in v1.2.1

func NewPopulatedActivityEnumerateRequest(r randyApi, easy bool) *ActivityEnumerateRequest

func (*ActivityEnumerateRequest) Descriptor added in v1.2.1

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

func (*ActivityEnumerateRequest) Equal added in v1.2.1

func (this *ActivityEnumerateRequest) Equal(that interface{}) bool

func (*ActivityEnumerateRequest) GetCluster added in v1.2.1

func (m *ActivityEnumerateRequest) GetCluster() string

func (*ActivityEnumerateRequest) GetDays added in v1.2.1

func (m *ActivityEnumerateRequest) GetDays() int32

func (*ActivityEnumerateRequest) GetInterval added in v1.2.1

func (*ActivityEnumerateRequest) GetKind added in v1.2.1

func (m *ActivityEnumerateRequest) GetKind() string

func (*ActivityEnumerateRequest) GetOrgId added in v1.2.1

func (m *ActivityEnumerateRequest) GetOrgId() string

func (*ActivityEnumerateRequest) GetTimeZone added in v1.2.1

func (m *ActivityEnumerateRequest) GetTimeZone() string

func (*ActivityEnumerateRequest) Marshal added in v1.2.1

func (m *ActivityEnumerateRequest) Marshal() (dAtA []byte, err error)

func (*ActivityEnumerateRequest) MarshalTo added in v1.2.1

func (m *ActivityEnumerateRequest) MarshalTo(dAtA []byte) (int, error)

func (*ActivityEnumerateRequest) MarshalToSizedBuffer added in v1.2.1

func (m *ActivityEnumerateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ActivityEnumerateRequest) ProtoMessage added in v1.2.1

func (*ActivityEnumerateRequest) ProtoMessage()

func (*ActivityEnumerateRequest) Reset added in v1.2.1

func (m *ActivityEnumerateRequest) Reset()

func (*ActivityEnumerateRequest) Size added in v1.2.1

func (m *ActivityEnumerateRequest) Size() (n int)

func (*ActivityEnumerateRequest) String added in v1.2.1

func (m *ActivityEnumerateRequest) String() string

func (*ActivityEnumerateRequest) Unmarshal added in v1.2.1

func (m *ActivityEnumerateRequest) Unmarshal(dAtA []byte) error

func (*ActivityEnumerateRequest) XXX_DiscardUnknown added in v1.2.1

func (m *ActivityEnumerateRequest) XXX_DiscardUnknown()

func (*ActivityEnumerateRequest) XXX_Marshal added in v1.2.1

func (m *ActivityEnumerateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ActivityEnumerateRequest) XXX_Merge added in v1.2.1

func (m *ActivityEnumerateRequest) XXX_Merge(src proto.Message)

func (*ActivityEnumerateRequest) XXX_Size added in v1.2.1

func (m *ActivityEnumerateRequest) XXX_Size() int

func (*ActivityEnumerateRequest) XXX_Unmarshal added in v1.2.1

func (m *ActivityEnumerateRequest) XXX_Unmarshal(b []byte) error

type ActivityEnumerateRequest_Interval added in v1.2.1

type ActivityEnumerateRequest_Interval int32
const (
	ActivityEnumerateRequest_Invalid ActivityEnumerateRequest_Interval = 0
	ActivityEnumerateRequest_Hourly  ActivityEnumerateRequest_Interval = 1
	ActivityEnumerateRequest_Daily   ActivityEnumerateRequest_Interval = 2
)

func (ActivityEnumerateRequest_Interval) EnumDescriptor added in v1.2.1

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

func (ActivityEnumerateRequest_Interval) String added in v1.2.1

type ActivityEnumerateResponse added in v1.2.1

type ActivityEnumerateResponse struct {
	ActivityData []*ActivityEnumerateResponse_Data `protobuf:"bytes,1,rep,name=activity_data,json=activityData,proto3" json:"activity_data,omitempty"`
}

func NewPopulatedActivityEnumerateResponse added in v1.2.1

func NewPopulatedActivityEnumerateResponse(r randyApi, easy bool) *ActivityEnumerateResponse

func (*ActivityEnumerateResponse) Descriptor added in v1.2.1

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

func (*ActivityEnumerateResponse) Equal added in v1.2.1

func (this *ActivityEnumerateResponse) Equal(that interface{}) bool

func (*ActivityEnumerateResponse) GetActivityData added in v1.2.1

func (*ActivityEnumerateResponse) Marshal added in v1.2.1

func (m *ActivityEnumerateResponse) Marshal() (dAtA []byte, err error)

func (*ActivityEnumerateResponse) MarshalTo added in v1.2.1

func (m *ActivityEnumerateResponse) MarshalTo(dAtA []byte) (int, error)

func (*ActivityEnumerateResponse) MarshalToSizedBuffer added in v1.2.1

func (m *ActivityEnumerateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ActivityEnumerateResponse) ProtoMessage added in v1.2.1

func (*ActivityEnumerateResponse) ProtoMessage()

func (*ActivityEnumerateResponse) Reset added in v1.2.1

func (m *ActivityEnumerateResponse) Reset()

func (*ActivityEnumerateResponse) Size added in v1.2.1

func (m *ActivityEnumerateResponse) Size() (n int)

func (*ActivityEnumerateResponse) String added in v1.2.1

func (m *ActivityEnumerateResponse) String() string

func (*ActivityEnumerateResponse) Unmarshal added in v1.2.1

func (m *ActivityEnumerateResponse) Unmarshal(dAtA []byte) error

func (*ActivityEnumerateResponse) XXX_DiscardUnknown added in v1.2.1

func (m *ActivityEnumerateResponse) XXX_DiscardUnknown()

func (*ActivityEnumerateResponse) XXX_Marshal added in v1.2.1

func (m *ActivityEnumerateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ActivityEnumerateResponse) XXX_Merge added in v1.2.1

func (m *ActivityEnumerateResponse) XXX_Merge(src proto.Message)

func (*ActivityEnumerateResponse) XXX_Size added in v1.2.1

func (m *ActivityEnumerateResponse) XXX_Size() int

func (*ActivityEnumerateResponse) XXX_Unmarshal added in v1.2.1

func (m *ActivityEnumerateResponse) XXX_Unmarshal(b []byte) error

type ActivityEnumerateResponse_Data added in v1.2.1

type ActivityEnumerateResponse_Data struct {
	StartTime      *types.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	EndTime        *types.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	Successful     uint64           `protobuf:"varint,3,opt,name=successful,proto3" json:"successful,omitempty"`
	Failed         uint64           `protobuf:"varint,4,opt,name=failed,proto3" json:"failed,omitempty"`
	InProgress     uint64           `protobuf:"varint,5,opt,name=in_progress,json=inProgress,proto3" json:"in_progress,omitempty"`
	CompletionTime float64          `protobuf:"fixed64,6,opt,name=completion_time,json=completionTime,proto3" json:"completion_time,omitempty"`
	// Total number of backups in a given time frame (success/failure)
	Total uint64 `protobuf:"varint,7,opt,name=total,proto3" json:"total,omitempty"`
}

func NewPopulatedActivityEnumerateResponse_Data added in v1.2.1

func NewPopulatedActivityEnumerateResponse_Data(r randyApi, easy bool) *ActivityEnumerateResponse_Data

func (*ActivityEnumerateResponse_Data) Descriptor added in v1.2.1

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

func (*ActivityEnumerateResponse_Data) Equal added in v1.2.1

func (this *ActivityEnumerateResponse_Data) Equal(that interface{}) bool

func (*ActivityEnumerateResponse_Data) GetCompletionTime added in v1.2.1

func (m *ActivityEnumerateResponse_Data) GetCompletionTime() float64

func (*ActivityEnumerateResponse_Data) GetEndTime added in v1.2.1

func (*ActivityEnumerateResponse_Data) GetFailed added in v1.2.1

func (m *ActivityEnumerateResponse_Data) GetFailed() uint64

func (*ActivityEnumerateResponse_Data) GetInProgress added in v1.2.1

func (m *ActivityEnumerateResponse_Data) GetInProgress() uint64

func (*ActivityEnumerateResponse_Data) GetStartTime added in v1.2.1

func (m *ActivityEnumerateResponse_Data) GetStartTime() *types.Timestamp

func (*ActivityEnumerateResponse_Data) GetSuccessful added in v1.2.1

func (m *ActivityEnumerateResponse_Data) GetSuccessful() uint64

func (*ActivityEnumerateResponse_Data) GetTotal added in v1.2.1

func (m *ActivityEnumerateResponse_Data) GetTotal() uint64

func (*ActivityEnumerateResponse_Data) Marshal added in v1.2.1

func (m *ActivityEnumerateResponse_Data) Marshal() (dAtA []byte, err error)

func (*ActivityEnumerateResponse_Data) MarshalTo added in v1.2.1

func (m *ActivityEnumerateResponse_Data) MarshalTo(dAtA []byte) (int, error)

func (*ActivityEnumerateResponse_Data) MarshalToSizedBuffer added in v1.2.1

func (m *ActivityEnumerateResponse_Data) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ActivityEnumerateResponse_Data) ProtoMessage added in v1.2.1

func (*ActivityEnumerateResponse_Data) ProtoMessage()

func (*ActivityEnumerateResponse_Data) Reset added in v1.2.1

func (m *ActivityEnumerateResponse_Data) Reset()

func (*ActivityEnumerateResponse_Data) Size added in v1.2.1

func (m *ActivityEnumerateResponse_Data) Size() (n int)

func (*ActivityEnumerateResponse_Data) String added in v1.2.1

func (*ActivityEnumerateResponse_Data) Unmarshal added in v1.2.1

func (m *ActivityEnumerateResponse_Data) Unmarshal(dAtA []byte) error

func (*ActivityEnumerateResponse_Data) XXX_DiscardUnknown added in v1.2.1

func (m *ActivityEnumerateResponse_Data) XXX_DiscardUnknown()

func (*ActivityEnumerateResponse_Data) XXX_Marshal added in v1.2.1

func (m *ActivityEnumerateResponse_Data) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ActivityEnumerateResponse_Data) XXX_Merge added in v1.2.1

func (m *ActivityEnumerateResponse_Data) XXX_Merge(src proto.Message)

func (*ActivityEnumerateResponse_Data) XXX_Size added in v1.2.1

func (m *ActivityEnumerateResponse_Data) XXX_Size() int

func (*ActivityEnumerateResponse_Data) XXX_Unmarshal added in v1.2.1

func (m *ActivityEnumerateResponse_Data) XXX_Unmarshal(b []byte) error

type ActivityTimeLineClient added in v1.2.1

type ActivityTimeLineClient interface {
	// Enumerate returns a list of activity data for a given time period
	Enumerate(ctx context.Context, in *ActivityEnumerateRequest, opts ...grpc.CallOption) (*ActivityEnumerateResponse, error)
}

ActivityTimeLineClient is the client API for ActivityTimeLine service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewActivityTimeLineClient added in v1.2.1

func NewActivityTimeLineClient(cc *grpc.ClientConn) ActivityTimeLineClient

type ActivityTimeLineServer added in v1.2.1

type ActivityTimeLineServer interface {
	// Enumerate returns a list of activity data for a given time period
	Enumerate(context.Context, *ActivityEnumerateRequest) (*ActivityEnumerateResponse, error)
}

ActivityTimeLineServer is the server API for ActivityTimeLine service.

type AzureConfig

type AzureConfig struct {
	AccountName  string `protobuf:"bytes,1,opt,name=account_name,json=accountName,proto3" json:"account_name,omitempty"`
	AccountKey   string `protobuf:"bytes,2,opt,name=account_key,json=accountKey,proto3" json:"accountkey" secure:"true"`
	ClientSecret string `protobuf:"bytes,3,opt,name=client_secret,json=clientSecret,proto3" json:"clientsecret" secure:"true"`
	ClientId     string `protobuf:"bytes,4,opt,name=client_id,json=clientId,proto3" json:"clientid" secure:"true"`
	TenantId     string `protobuf:"bytes,5,opt,name=tenant_id,json=tenantId,proto3" json:"tenantid" secure:"true"`
	// TODO: Need to see if this has to be here or in the backup object.
	SubscriptionId string `protobuf:"bytes,6,opt,name=subscription_id,json=subscriptionId,proto3" json:"subscriptionid" secure:"true"`
}

func NewPopulatedAzureConfig

func NewPopulatedAzureConfig(r randyApi, easy bool) *AzureConfig

func (*AzureConfig) Descriptor

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

func (*AzureConfig) Equal

func (this *AzureConfig) Equal(that interface{}) bool

func (*AzureConfig) GetAccountKey

func (m *AzureConfig) GetAccountKey() string

func (*AzureConfig) GetAccountName

func (m *AzureConfig) GetAccountName() string

func (*AzureConfig) GetClientId

func (m *AzureConfig) GetClientId() string

func (*AzureConfig) GetClientSecret

func (m *AzureConfig) GetClientSecret() string

func (*AzureConfig) GetSubscriptionId

func (m *AzureConfig) GetSubscriptionId() string

func (*AzureConfig) GetTenantId

func (m *AzureConfig) GetTenantId() string

func (*AzureConfig) Marshal

func (m *AzureConfig) Marshal() (dAtA []byte, err error)

func (*AzureConfig) MarshalTo

func (m *AzureConfig) MarshalTo(dAtA []byte) (int, error)

func (*AzureConfig) MarshalToSizedBuffer

func (m *AzureConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AzureConfig) ProtoMessage

func (*AzureConfig) ProtoMessage()

func (*AzureConfig) Reset

func (m *AzureConfig) Reset()

func (*AzureConfig) Size

func (m *AzureConfig) Size() (n int)

func (*AzureConfig) String

func (m *AzureConfig) String() string

func (*AzureConfig) Unmarshal

func (m *AzureConfig) Unmarshal(dAtA []byte) error

func (*AzureConfig) XXX_DiscardUnknown

func (m *AzureConfig) XXX_DiscardUnknown()

func (*AzureConfig) XXX_Marshal

func (m *AzureConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AzureConfig) XXX_Merge

func (m *AzureConfig) XXX_Merge(src proto.Message)

func (*AzureConfig) XXX_Size

func (m *AzureConfig) XXX_Size() int

func (*AzureConfig) XXX_Unmarshal

func (m *AzureConfig) XXX_Unmarshal(b []byte) error

type BackupClient

type BackupClient interface {
	// Create creates a new backup object
	Create(ctx context.Context, in *BackupCreateRequest, opts ...grpc.CallOption) (*BackupCreateResponse, error)
	// Update given backup details
	Update(ctx context.Context, in *BackupUpdateRequest, opts ...grpc.CallOption) (*BackupUpdateResponse, error)
	// Enumerate returns a list of objects
	Enumerate(ctx context.Context, in *BackupEnumerateRequest, opts ...grpc.CallOption) (*BackupEnumerateResponse, error)
	// Inspect returns detail information about a specified object
	Inspect(ctx context.Context, in *BackupInspectRequest, opts ...grpc.CallOption) (*BackupInspectResponse, error)
	// Delete triggers delete of a backup
	Delete(ctx context.Context, in *BackupDeleteRequest, opts ...grpc.CallOption) (*BackupDeleteResponse, error)
}

BackupClient is the client API for Backup service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewBackupClient

func NewBackupClient(cc *grpc.ClientConn) BackupClient

type BackupCreateRequest

type BackupCreateRequest struct {
	*CreateMetadata `protobuf:"bytes,1,opt,name=metadata,proto3,embedded=metadata" json:"metadata,omitempty"`
	// Name or UID + orgid of BackupLocation
	// backup_location is deprecated, not to be used.
	BackupLocation string `protobuf:"bytes,2,opt,name=backup_location,json=backupLocation,proto3" json:"backup_location,omitempty"`
	// Name or UID of Cluster
	Cluster string `protobuf:"bytes,3,opt,name=cluster,proto3" json:"cluster,omitempty"`
	// Namespaces to backup. Only an admin can provide multiple namespaces
	Namespaces []string `protobuf:"bytes,4,rep,name=namespaces,proto3" json:"namespaces,omitempty"`
	// Label selectors to choose resources
	LabelSelectors map[string]string `` /* 191-byte string literal not displayed */
	// Pre check rule to run before backup is started
	// deprecated, not to be used.
	PreExecRule string `protobuf:"bytes,6,opt,name=pre_exec_rule,json=preExecRule,proto3" json:"pre_exec_rule,omitempty"`
	// Post check rule to run after backup is completed
	// deprecated, not to be used.
	PostExecRule string `protobuf:"bytes,7,opt,name=post_exec_rule,json=postExecRule,proto3" json:"post_exec_rule,omitempty"`
	// List of resources to backup (optional)
	IncludeResources []*ResourceInfo `protobuf:"bytes,8,rep,name=include_resources,json=includeResources,proto3" json:"include_resources,omitempty"`
	// Snapshot class name to use for backup (optional)
	CsiSnapshotClassName string `protobuf:"bytes,9,opt,name=csi_snapshot_class_name,json=csiSnapshotClassName,proto3" json:"csi_snapshot_class_name,omitempty"`
	// List of resource types to backup (optional)
	ResourceTypes     []string   `protobuf:"bytes,10,rep,name=resource_types,json=resourceTypes,proto3" json:"resource_types,omitempty"`
	BackupLocationRef *ObjectRef `protobuf:"bytes,11,opt,name=backup_location_ref,json=backupLocationRef,proto3" json:"backup_location_ref,omitempty"`
	PreExecRuleRef    *ObjectRef `protobuf:"bytes,12,opt,name=pre_exec_rule_ref,json=preExecRuleRef,proto3" json:"pre_exec_rule_ref,omitempty"`
	PostExecRuleRef   *ObjectRef `protobuf:"bytes,13,opt,name=post_exec_rule_ref,json=postExecRuleRef,proto3" json:"post_exec_rule_ref,omitempty"`
}

Request message structure for backup create

func NewPopulatedBackupCreateRequest

func NewPopulatedBackupCreateRequest(r randyApi, easy bool) *BackupCreateRequest

func (*BackupCreateRequest) Descriptor

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

func (*BackupCreateRequest) Equal

func (this *BackupCreateRequest) Equal(that interface{}) bool

func (*BackupCreateRequest) GetBackupLocation

func (m *BackupCreateRequest) GetBackupLocation() string

func (*BackupCreateRequest) GetBackupLocationRef added in v1.2.1

func (m *BackupCreateRequest) GetBackupLocationRef() *ObjectRef

func (*BackupCreateRequest) GetCluster

func (m *BackupCreateRequest) GetCluster() string

func (*BackupCreateRequest) GetCsiSnapshotClassName

func (m *BackupCreateRequest) GetCsiSnapshotClassName() string

func (*BackupCreateRequest) GetIncludeResources

func (m *BackupCreateRequest) GetIncludeResources() []*ResourceInfo

func (*BackupCreateRequest) GetLabelSelectors

func (m *BackupCreateRequest) GetLabelSelectors() map[string]string

func (*BackupCreateRequest) GetNamespaces

func (m *BackupCreateRequest) GetNamespaces() []string

func (*BackupCreateRequest) GetPostExecRule

func (m *BackupCreateRequest) GetPostExecRule() string

func (*BackupCreateRequest) GetPostExecRuleRef added in v1.2.1

func (m *BackupCreateRequest) GetPostExecRuleRef() *ObjectRef

func (*BackupCreateRequest) GetPreExecRule

func (m *BackupCreateRequest) GetPreExecRule() string

func (*BackupCreateRequest) GetPreExecRuleRef added in v1.2.1

func (m *BackupCreateRequest) GetPreExecRuleRef() *ObjectRef

func (*BackupCreateRequest) GetResourceTypes added in v1.2.1

func (m *BackupCreateRequest) GetResourceTypes() []string

func (*BackupCreateRequest) Marshal

func (m *BackupCreateRequest) Marshal() (dAtA []byte, err error)

func (*BackupCreateRequest) MarshalTo

func (m *BackupCreateRequest) MarshalTo(dAtA []byte) (int, error)

func (*BackupCreateRequest) MarshalToSizedBuffer

func (m *BackupCreateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BackupCreateRequest) ProtoMessage

func (*BackupCreateRequest) ProtoMessage()

func (*BackupCreateRequest) Reset

func (m *BackupCreateRequest) Reset()

func (*BackupCreateRequest) Size

func (m *BackupCreateRequest) Size() (n int)

func (*BackupCreateRequest) String

func (m *BackupCreateRequest) String() string

func (*BackupCreateRequest) Unmarshal

func (m *BackupCreateRequest) Unmarshal(dAtA []byte) error

func (*BackupCreateRequest) XXX_DiscardUnknown

func (m *BackupCreateRequest) XXX_DiscardUnknown()

func (*BackupCreateRequest) XXX_Marshal

func (m *BackupCreateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BackupCreateRequest) XXX_Merge

func (m *BackupCreateRequest) XXX_Merge(src proto.Message)

func (*BackupCreateRequest) XXX_Size

func (m *BackupCreateRequest) XXX_Size() int

func (*BackupCreateRequest) XXX_Unmarshal

func (m *BackupCreateRequest) XXX_Unmarshal(b []byte) error

type BackupCreateResponse

type BackupCreateResponse struct {
}

Response message structure for backup create

func NewPopulatedBackupCreateResponse

func NewPopulatedBackupCreateResponse(r randyApi, easy bool) *BackupCreateResponse

func (*BackupCreateResponse) Descriptor

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

func (*BackupCreateResponse) Equal

func (this *BackupCreateResponse) Equal(that interface{}) bool

func (*BackupCreateResponse) Marshal

func (m *BackupCreateResponse) Marshal() (dAtA []byte, err error)

func (*BackupCreateResponse) MarshalTo

func (m *BackupCreateResponse) MarshalTo(dAtA []byte) (int, error)

func (*BackupCreateResponse) MarshalToSizedBuffer

func (m *BackupCreateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BackupCreateResponse) ProtoMessage

func (*BackupCreateResponse) ProtoMessage()

func (*BackupCreateResponse) Reset

func (m *BackupCreateResponse) Reset()

func (*BackupCreateResponse) Size

func (m *BackupCreateResponse) Size() (n int)

func (*BackupCreateResponse) String

func (m *BackupCreateResponse) String() string

func (*BackupCreateResponse) Unmarshal

func (m *BackupCreateResponse) Unmarshal(dAtA []byte) error

func (*BackupCreateResponse) XXX_DiscardUnknown

func (m *BackupCreateResponse) XXX_DiscardUnknown()

func (*BackupCreateResponse) XXX_Marshal

func (m *BackupCreateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BackupCreateResponse) XXX_Merge

func (m *BackupCreateResponse) XXX_Merge(src proto.Message)

func (*BackupCreateResponse) XXX_Size

func (m *BackupCreateResponse) XXX_Size() int

func (*BackupCreateResponse) XXX_Unmarshal

func (m *BackupCreateResponse) XXX_Unmarshal(b []byte) error

type BackupDeleteRequest

type BackupDeleteRequest struct {
	Name  string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	OrgId string `protobuf:"bytes,2,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
	// cluster name or uid to perform delete through
	Cluster string `protobuf:"bytes,3,opt,name=cluster,proto3" json:"cluster,omitempty"`
}

Request message structure for object delete

func NewPopulatedBackupDeleteRequest

func NewPopulatedBackupDeleteRequest(r randyApi, easy bool) *BackupDeleteRequest

func (*BackupDeleteRequest) Descriptor

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

func (*BackupDeleteRequest) Equal

func (this *BackupDeleteRequest) Equal(that interface{}) bool

func (*BackupDeleteRequest) GetCluster

func (m *BackupDeleteRequest) GetCluster() string

func (*BackupDeleteRequest) GetName

func (m *BackupDeleteRequest) GetName() string

func (*BackupDeleteRequest) GetOrgId

func (m *BackupDeleteRequest) GetOrgId() string

func (*BackupDeleteRequest) Marshal

func (m *BackupDeleteRequest) Marshal() (dAtA []byte, err error)

func (*BackupDeleteRequest) MarshalTo

func (m *BackupDeleteRequest) MarshalTo(dAtA []byte) (int, error)

func (*BackupDeleteRequest) MarshalToSizedBuffer

func (m *BackupDeleteRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BackupDeleteRequest) ProtoMessage

func (*BackupDeleteRequest) ProtoMessage()

func (*BackupDeleteRequest) Reset

func (m *BackupDeleteRequest) Reset()

func (*BackupDeleteRequest) Size

func (m *BackupDeleteRequest) Size() (n int)

func (*BackupDeleteRequest) String

func (m *BackupDeleteRequest) String() string

func (*BackupDeleteRequest) Unmarshal

func (m *BackupDeleteRequest) Unmarshal(dAtA []byte) error

func (*BackupDeleteRequest) XXX_DiscardUnknown

func (m *BackupDeleteRequest) XXX_DiscardUnknown()

func (*BackupDeleteRequest) XXX_Marshal

func (m *BackupDeleteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BackupDeleteRequest) XXX_Merge

func (m *BackupDeleteRequest) XXX_Merge(src proto.Message)

func (*BackupDeleteRequest) XXX_Size

func (m *BackupDeleteRequest) XXX_Size() int

func (*BackupDeleteRequest) XXX_Unmarshal

func (m *BackupDeleteRequest) XXX_Unmarshal(b []byte) error

type BackupDeleteResponse

type BackupDeleteResponse struct {
}

Response message structure for object delete

func NewPopulatedBackupDeleteResponse

func NewPopulatedBackupDeleteResponse(r randyApi, easy bool) *BackupDeleteResponse

func (*BackupDeleteResponse) Descriptor

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

func (*BackupDeleteResponse) Equal

func (this *BackupDeleteResponse) Equal(that interface{}) bool

func (*BackupDeleteResponse) Marshal

func (m *BackupDeleteResponse) Marshal() (dAtA []byte, err error)

func (*BackupDeleteResponse) MarshalTo

func (m *BackupDeleteResponse) MarshalTo(dAtA []byte) (int, error)

func (*BackupDeleteResponse) MarshalToSizedBuffer

func (m *BackupDeleteResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BackupDeleteResponse) ProtoMessage

func (*BackupDeleteResponse) ProtoMessage()

func (*BackupDeleteResponse) Reset

func (m *BackupDeleteResponse) Reset()

func (*BackupDeleteResponse) Size

func (m *BackupDeleteResponse) Size() (n int)

func (*BackupDeleteResponse) String

func (m *BackupDeleteResponse) String() string

func (*BackupDeleteResponse) Unmarshal

func (m *BackupDeleteResponse) Unmarshal(dAtA []byte) error

func (*BackupDeleteResponse) XXX_DiscardUnknown

func (m *BackupDeleteResponse) XXX_DiscardUnknown()

func (*BackupDeleteResponse) XXX_Marshal

func (m *BackupDeleteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BackupDeleteResponse) XXX_Merge

func (m *BackupDeleteResponse) XXX_Merge(src proto.Message)

func (*BackupDeleteResponse) XXX_Size

func (m *BackupDeleteResponse) XXX_Size() int

func (*BackupDeleteResponse) XXX_Unmarshal

func (m *BackupDeleteResponse) XXX_Unmarshal(b []byte) error

type BackupEnumerateRequest

type BackupEnumerateRequest struct {
	// Organization id
	OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
	// Optional arguments for enumeration
	*EnumerateOptions `` /* 136-byte string literal not displayed */
}

Request message structure for enumerate object

func NewPopulatedBackupEnumerateRequest

func NewPopulatedBackupEnumerateRequest(r randyApi, easy bool) *BackupEnumerateRequest

func (*BackupEnumerateRequest) Descriptor

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

func (*BackupEnumerateRequest) Equal

func (this *BackupEnumerateRequest) Equal(that interface{}) bool

func (*BackupEnumerateRequest) GetOrgId

func (m *BackupEnumerateRequest) GetOrgId() string

func (*BackupEnumerateRequest) Marshal

func (m *BackupEnumerateRequest) Marshal() (dAtA []byte, err error)

func (*BackupEnumerateRequest) MarshalTo

func (m *BackupEnumerateRequest) MarshalTo(dAtA []byte) (int, error)

func (*BackupEnumerateRequest) MarshalToSizedBuffer

func (m *BackupEnumerateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BackupEnumerateRequest) ProtoMessage

func (*BackupEnumerateRequest) ProtoMessage()

func (*BackupEnumerateRequest) Reset

func (m *BackupEnumerateRequest) Reset()

func (*BackupEnumerateRequest) Size

func (m *BackupEnumerateRequest) Size() (n int)

func (*BackupEnumerateRequest) String

func (m *BackupEnumerateRequest) String() string

func (*BackupEnumerateRequest) Unmarshal

func (m *BackupEnumerateRequest) Unmarshal(dAtA []byte) error

func (*BackupEnumerateRequest) XXX_DiscardUnknown

func (m *BackupEnumerateRequest) XXX_DiscardUnknown()

func (*BackupEnumerateRequest) XXX_Marshal

func (m *BackupEnumerateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BackupEnumerateRequest) XXX_Merge

func (m *BackupEnumerateRequest) XXX_Merge(src proto.Message)

func (*BackupEnumerateRequest) XXX_Size

func (m *BackupEnumerateRequest) XXX_Size() int

func (*BackupEnumerateRequest) XXX_Unmarshal

func (m *BackupEnumerateRequest) XXX_Unmarshal(b []byte) error

type BackupEnumerateResponse

type BackupEnumerateResponse struct {
	Backups    []*BackupObject `protobuf:"bytes,1,rep,name=backups,proto3" json:"backups,omitempty"`
	TotalCount uint64          `protobuf:"varint,2,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"`
	Complete   bool            `protobuf:"varint,3,opt,name=complete,proto3" json:"complete,omitempty"`
}

Response message structure for enumerate create

func NewPopulatedBackupEnumerateResponse

func NewPopulatedBackupEnumerateResponse(r randyApi, easy bool) *BackupEnumerateResponse

func (*BackupEnumerateResponse) Descriptor

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

func (*BackupEnumerateResponse) Equal

func (this *BackupEnumerateResponse) Equal(that interface{}) bool

func (*BackupEnumerateResponse) GetBackups

func (m *BackupEnumerateResponse) GetBackups() []*BackupObject

func (*BackupEnumerateResponse) GetComplete

func (m *BackupEnumerateResponse) GetComplete() bool

func (*BackupEnumerateResponse) GetTotalCount

func (m *BackupEnumerateResponse) GetTotalCount() uint64

func (*BackupEnumerateResponse) Marshal

func (m *BackupEnumerateResponse) Marshal() (dAtA []byte, err error)

func (*BackupEnumerateResponse) MarshalTo

func (m *BackupEnumerateResponse) MarshalTo(dAtA []byte) (int, error)

func (*BackupEnumerateResponse) MarshalToSizedBuffer

func (m *BackupEnumerateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BackupEnumerateResponse) ProtoMessage

func (*BackupEnumerateResponse) ProtoMessage()

func (*BackupEnumerateResponse) Reset

func (m *BackupEnumerateResponse) Reset()

func (*BackupEnumerateResponse) Size

func (m *BackupEnumerateResponse) Size() (n int)

func (*BackupEnumerateResponse) String

func (m *BackupEnumerateResponse) String() string

func (*BackupEnumerateResponse) Unmarshal

func (m *BackupEnumerateResponse) Unmarshal(dAtA []byte) error

func (*BackupEnumerateResponse) XXX_DiscardUnknown

func (m *BackupEnumerateResponse) XXX_DiscardUnknown()

func (*BackupEnumerateResponse) XXX_Marshal

func (m *BackupEnumerateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BackupEnumerateResponse) XXX_Merge

func (m *BackupEnumerateResponse) XXX_Merge(src proto.Message)

func (*BackupEnumerateResponse) XXX_Size

func (m *BackupEnumerateResponse) XXX_Size() int

func (*BackupEnumerateResponse) XXX_Unmarshal

func (m *BackupEnumerateResponse) XXX_Unmarshal(b []byte) error

type BackupInfo

type BackupInfo struct {
	// Name of BackupLocation, deprecated. Not to be used.
	BackupLocation string `protobuf:"bytes,1,opt,name=backup_location,json=backupLocation,proto3" json:"backup_location,omitempty"`
	// Name of Cluster
	Cluster string `protobuf:"bytes,2,opt,name=cluster,proto3" json:"cluster,omitempty"`
	// Namespaces to backup. Only an admin can provide multiple namespaces
	Namespaces []string `protobuf:"bytes,3,rep,name=namespaces,proto3" json:"namespaces,omitempty"`
	// Label selectors to choose resources
	LabelSelectors map[string]string      `` /* 191-byte string literal not displayed */
	Status         *BackupInfo_StatusInfo `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"`
	Resources      []*ResourceInfo        `protobuf:"bytes,6,rep,name=resources,proto3" json:"resources,omitempty"`
	Volumes        []*BackupInfo_Volume   `protobuf:"bytes,7,rep,name=volumes,proto3" json:"volumes,omitempty"`
	BackupPath     string                 `protobuf:"bytes,8,opt,name=backup_path,json=backupPath,proto3" json:"backup_path,omitempty"`
	Stage          BackupInfo_Stage       `protobuf:"varint,9,opt,name=stage,proto3,enum=BackupInfo_Stage" json:"stage,omitempty"`
	// pre_exec_rule and post_exec_rule are deprecated, not to be used,
	PreExecRule  string `protobuf:"bytes,10,opt,name=pre_exec_rule,json=preExecRule,proto3" json:"pre_exec_rule,omitempty"`
	PostExecRule string `protobuf:"bytes,11,opt,name=post_exec_rule,json=postExecRule,proto3" json:"post_exec_rule,omitempty"`
	// Name of the backup schedule, if the backup was taken by schedule through
	// px-backup.
	// Otherwise it will be empty.
	BackupSchedule *BackupInfo_BackupSchedule `protobuf:"bytes,12,opt,name=backup_schedule,json=backupSchedule,proto3" json:"backup_schedule,omitempty"`
	CrName         string                     `protobuf:"bytes,13,opt,name=cr_name,json=crName,proto3" json:"cr_name,omitempty"`
	TotalSize      uint64                     `protobuf:"varint,14,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"`
	// Reference to cloud credential object used for backup.
	// cloud_credential is deprecated, not to be used.
	CloudCredential      string          `protobuf:"bytes,15,opt,name=cloud_credential,json=cloudCredential,proto3" json:"cloud_credential,omitempty"`
	IncludeResources     []*ResourceInfo `protobuf:"bytes,16,rep,name=include_resources,json=includeResources,proto3" json:"include_resources,omitempty"`
	ResourceCount        uint64          `protobuf:"varint,17,opt,name=resource_count,json=resourceCount,proto3" json:"resource_count,omitempty"`
	StorkVersion         string          `protobuf:"bytes,18,opt,name=stork_version,json=storkVersion,proto3" json:"stork_version,omitempty"`
	CsiSnapshotClassName string          `` /* 126-byte string literal not displayed */
	ResourceTypes        []string        `protobuf:"bytes,20,rep,name=resource_types,json=resourceTypes,proto3" json:"resource_types,omitempty"`
	BackupLocationRef    *ObjectRef      `protobuf:"bytes,21,opt,name=backup_location_ref,json=backupLocationRef,proto3" json:"backup_location_ref,omitempty"`
	PreExecRuleRef       *ObjectRef      `protobuf:"bytes,22,opt,name=pre_exec_rule_ref,json=preExecRuleRef,proto3" json:"pre_exec_rule_ref,omitempty"`
	PostExecRuleRef      *ObjectRef      `protobuf:"bytes,23,opt,name=post_exec_rule_ref,json=postExecRuleRef,proto3" json:"post_exec_rule_ref,omitempty"`
	CloudCredentialRef   *ObjectRef      `protobuf:"bytes,24,opt,name=cloud_credential_ref,json=cloudCredentialRef,proto3" json:"cloud_credential_ref,omitempty"`
}

func NewPopulatedBackupInfo

func NewPopulatedBackupInfo(r randyApi, easy bool) *BackupInfo

func (*BackupInfo) Descriptor

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

func (*BackupInfo) Equal

func (this *BackupInfo) Equal(that interface{}) bool

func (*BackupInfo) GetBackupLocation

func (m *BackupInfo) GetBackupLocation() string

func (*BackupInfo) GetBackupLocationRef added in v1.2.1

func (m *BackupInfo) GetBackupLocationRef() *ObjectRef

func (*BackupInfo) GetBackupPath

func (m *BackupInfo) GetBackupPath() string

func (*BackupInfo) GetBackupSchedule

func (m *BackupInfo) GetBackupSchedule() *BackupInfo_BackupSchedule

func (*BackupInfo) GetCloudCredential

func (m *BackupInfo) GetCloudCredential() string

func (*BackupInfo) GetCloudCredentialRef added in v1.2.1

func (m *BackupInfo) GetCloudCredentialRef() *ObjectRef

func (*BackupInfo) GetCluster

func (m *BackupInfo) GetCluster() string

func (*BackupInfo) GetCrName

func (m *BackupInfo) GetCrName() string

func (*BackupInfo) GetCsiSnapshotClassName added in v1.2.1

func (m *BackupInfo) GetCsiSnapshotClassName() string

func (*BackupInfo) GetIncludeResources

func (m *BackupInfo) GetIncludeResources() []*ResourceInfo

func (*BackupInfo) GetLabelSelectors

func (m *BackupInfo) GetLabelSelectors() map[string]string

func (*BackupInfo) GetNamespaces

func (m *BackupInfo) GetNamespaces() []string

func (*BackupInfo) GetPostExecRule

func (m *BackupInfo) GetPostExecRule() string

func (*BackupInfo) GetPostExecRuleRef added in v1.2.1

func (m *BackupInfo) GetPostExecRuleRef() *ObjectRef

func (*BackupInfo) GetPreExecRule

func (m *BackupInfo) GetPreExecRule() string

func (*BackupInfo) GetPreExecRuleRef added in v1.2.1

func (m *BackupInfo) GetPreExecRuleRef() *ObjectRef

func (*BackupInfo) GetResourceCount added in v1.2.1

func (m *BackupInfo) GetResourceCount() uint64

func (*BackupInfo) GetResourceTypes added in v1.2.1

func (m *BackupInfo) GetResourceTypes() []string

func (*BackupInfo) GetResources

func (m *BackupInfo) GetResources() []*ResourceInfo

func (*BackupInfo) GetStage

func (m *BackupInfo) GetStage() BackupInfo_Stage

func (*BackupInfo) GetStatus

func (m *BackupInfo) GetStatus() *BackupInfo_StatusInfo

func (*BackupInfo) GetStorkVersion added in v1.2.1

func (m *BackupInfo) GetStorkVersion() string

func (*BackupInfo) GetTotalSize

func (m *BackupInfo) GetTotalSize() uint64

func (*BackupInfo) GetVolumes

func (m *BackupInfo) GetVolumes() []*BackupInfo_Volume

func (*BackupInfo) Marshal

func (m *BackupInfo) Marshal() (dAtA []byte, err error)

func (*BackupInfo) MarshalTo

func (m *BackupInfo) MarshalTo(dAtA []byte) (int, error)

func (*BackupInfo) MarshalToSizedBuffer

func (m *BackupInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BackupInfo) ProtoMessage

func (*BackupInfo) ProtoMessage()

func (*BackupInfo) Reset

func (m *BackupInfo) Reset()

func (*BackupInfo) Size

func (m *BackupInfo) Size() (n int)

func (*BackupInfo) String

func (m *BackupInfo) String() string

func (*BackupInfo) Unmarshal

func (m *BackupInfo) Unmarshal(dAtA []byte) error

func (*BackupInfo) XXX_DiscardUnknown

func (m *BackupInfo) XXX_DiscardUnknown()

func (*BackupInfo) XXX_Marshal

func (m *BackupInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BackupInfo) XXX_Merge

func (m *BackupInfo) XXX_Merge(src proto.Message)

func (*BackupInfo) XXX_Size

func (m *BackupInfo) XXX_Size() int

func (*BackupInfo) XXX_Unmarshal

func (m *BackupInfo) XXX_Unmarshal(b []byte) error

type BackupInfo_BackupSchedule

type BackupInfo_BackupSchedule struct {
	Uid  string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"`
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
}

func NewPopulatedBackupInfo_BackupSchedule

func NewPopulatedBackupInfo_BackupSchedule(r randyApi, easy bool) *BackupInfo_BackupSchedule

func (*BackupInfo_BackupSchedule) Descriptor

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

func (*BackupInfo_BackupSchedule) Equal

func (this *BackupInfo_BackupSchedule) Equal(that interface{}) bool

func (*BackupInfo_BackupSchedule) GetName

func (m *BackupInfo_BackupSchedule) GetName() string

func (*BackupInfo_BackupSchedule) GetUid

func (m *BackupInfo_BackupSchedule) GetUid() string

func (*BackupInfo_BackupSchedule) Marshal

func (m *BackupInfo_BackupSchedule) Marshal() (dAtA []byte, err error)

func (*BackupInfo_BackupSchedule) MarshalTo

func (m *BackupInfo_BackupSchedule) MarshalTo(dAtA []byte) (int, error)

func (*BackupInfo_BackupSchedule) MarshalToSizedBuffer

func (m *BackupInfo_BackupSchedule) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BackupInfo_BackupSchedule) ProtoMessage

func (*BackupInfo_BackupSchedule) ProtoMessage()

func (*BackupInfo_BackupSchedule) Reset

func (m *BackupInfo_BackupSchedule) Reset()

func (*BackupInfo_BackupSchedule) Size

func (m *BackupInfo_BackupSchedule) Size() (n int)

func (*BackupInfo_BackupSchedule) String

func (m *BackupInfo_BackupSchedule) String() string

func (*BackupInfo_BackupSchedule) Unmarshal

func (m *BackupInfo_BackupSchedule) Unmarshal(dAtA []byte) error

func (*BackupInfo_BackupSchedule) XXX_DiscardUnknown

func (m *BackupInfo_BackupSchedule) XXX_DiscardUnknown()

func (*BackupInfo_BackupSchedule) XXX_Marshal

func (m *BackupInfo_BackupSchedule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BackupInfo_BackupSchedule) XXX_Merge

func (m *BackupInfo_BackupSchedule) XXX_Merge(src proto.Message)

func (*BackupInfo_BackupSchedule) XXX_Size

func (m *BackupInfo_BackupSchedule) XXX_Size() int

func (*BackupInfo_BackupSchedule) XXX_Unmarshal

func (m *BackupInfo_BackupSchedule) XXX_Unmarshal(b []byte) error

type BackupInfo_Stage

type BackupInfo_Stage int32
const (
	BackupInfo_Invalid      BackupInfo_Stage = 0
	BackupInfo_Initial      BackupInfo_Stage = 1
	BackupInfo_PreExecRule  BackupInfo_Stage = 2
	BackupInfo_PostExecRule BackupInfo_Stage = 3
	BackupInfo_Volumes      BackupInfo_Stage = 4
	BackupInfo_Applications BackupInfo_Stage = 5
	BackupInfo_Final        BackupInfo_Stage = 6
)

func (BackupInfo_Stage) EnumDescriptor

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

func (BackupInfo_Stage) String

func (x BackupInfo_Stage) String() string

type BackupInfo_StatusInfo

type BackupInfo_StatusInfo struct {
	Status BackupInfo_StatusInfo_Status `protobuf:"varint,1,opt,name=status,proto3,enum=BackupInfo_StatusInfo_Status" json:"status,omitempty"`
	Reason string                       `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"`
}

Message for maintaining status of the object.

func NewPopulatedBackupInfo_StatusInfo

func NewPopulatedBackupInfo_StatusInfo(r randyApi, easy bool) *BackupInfo_StatusInfo

func (*BackupInfo_StatusInfo) Descriptor

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

func (*BackupInfo_StatusInfo) Equal

func (this *BackupInfo_StatusInfo) Equal(that interface{}) bool

func (*BackupInfo_StatusInfo) GetReason

func (m *BackupInfo_StatusInfo) GetReason() string

func (*BackupInfo_StatusInfo) GetStatus

func (*BackupInfo_StatusInfo) Marshal

func (m *BackupInfo_StatusInfo) Marshal() (dAtA []byte, err error)

func (*BackupInfo_StatusInfo) MarshalTo

func (m *BackupInfo_StatusInfo) MarshalTo(dAtA []byte) (int, error)

func (*BackupInfo_StatusInfo) MarshalToSizedBuffer

func (m *BackupInfo_StatusInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BackupInfo_StatusInfo) ProtoMessage

func (*BackupInfo_StatusInfo) ProtoMessage()

func (*BackupInfo_StatusInfo) Reset

func (m *BackupInfo_StatusInfo) Reset()

func (*BackupInfo_StatusInfo) Size

func (m *BackupInfo_StatusInfo) Size() (n int)

func (*BackupInfo_StatusInfo) String

func (m *BackupInfo_StatusInfo) String() string

func (*BackupInfo_StatusInfo) Unmarshal

func (m *BackupInfo_StatusInfo) Unmarshal(dAtA []byte) error

func (*BackupInfo_StatusInfo) XXX_DiscardUnknown

func (m *BackupInfo_StatusInfo) XXX_DiscardUnknown()

func (*BackupInfo_StatusInfo) XXX_Marshal

func (m *BackupInfo_StatusInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BackupInfo_StatusInfo) XXX_Merge

func (m *BackupInfo_StatusInfo) XXX_Merge(src proto.Message)

func (*BackupInfo_StatusInfo) XXX_Size

func (m *BackupInfo_StatusInfo) XXX_Size() int

func (*BackupInfo_StatusInfo) XXX_Unmarshal

func (m *BackupInfo_StatusInfo) XXX_Unmarshal(b []byte) error

type BackupInfo_StatusInfo_Status

type BackupInfo_StatusInfo_Status int32
const (
	BackupInfo_StatusInfo_Invalid            BackupInfo_StatusInfo_Status = 0
	BackupInfo_StatusInfo_Pending            BackupInfo_StatusInfo_Status = 1
	BackupInfo_StatusInfo_InProgress         BackupInfo_StatusInfo_Status = 2
	BackupInfo_StatusInfo_Aborted            BackupInfo_StatusInfo_Status = 3
	BackupInfo_StatusInfo_Failed             BackupInfo_StatusInfo_Status = 4
	BackupInfo_StatusInfo_Deleting           BackupInfo_StatusInfo_Status = 5
	BackupInfo_StatusInfo_Success            BackupInfo_StatusInfo_Status = 6
	BackupInfo_StatusInfo_Captured           BackupInfo_StatusInfo_Status = 7
	BackupInfo_StatusInfo_PartialSuccess     BackupInfo_StatusInfo_Status = 8
	BackupInfo_StatusInfo_DeletePending      BackupInfo_StatusInfo_Status = 9
	BackupInfo_StatusInfo_CloudBackupMissing BackupInfo_StatusInfo_Status = 10
)

func (BackupInfo_StatusInfo_Status) EnumDescriptor

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

func (BackupInfo_StatusInfo_Status) String

type BackupInfo_Volume

type BackupInfo_Volume struct {
	Name       string                 `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Namespace  string                 `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Pvc        string                 `protobuf:"bytes,3,opt,name=pvc,proto3" json:"pvc,omitempty"`
	BackupId   string                 `protobuf:"bytes,4,opt,name=backup_id,json=backupId,proto3" json:"backup_id,omitempty"`
	Status     *BackupInfo_StatusInfo `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"`
	DriverName string                 `protobuf:"bytes,6,opt,name=driver_name,json=driverName,proto3" json:"driver_name,omitempty"`
	Zones      []string               `protobuf:"bytes,7,rep,name=zones,proto3" json:"zones,omitempty"`
	Options    map[string]string      `` /* 155-byte string literal not displayed */
	TotalSize  uint64                 `protobuf:"varint,9,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"`
	// actual size of the backup
	// incase of incremental, it's the incremental backup size
	ActualSize uint64 `protobuf:"varint,10,opt,name=actual_size,json=actualSize,proto3" json:"actual_size,omitempty"`
}

func NewPopulatedBackupInfo_Volume

func NewPopulatedBackupInfo_Volume(r randyApi, easy bool) *BackupInfo_Volume

func (*BackupInfo_Volume) Descriptor

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

func (*BackupInfo_Volume) Equal

func (this *BackupInfo_Volume) Equal(that interface{}) bool

func (*BackupInfo_Volume) GetActualSize

func (m *BackupInfo_Volume) GetActualSize() uint64

func (*BackupInfo_Volume) GetBackupId

func (m *BackupInfo_Volume) GetBackupId() string

func (*BackupInfo_Volume) GetDriverName

func (m *BackupInfo_Volume) GetDriverName() string

func (*BackupInfo_Volume) GetName

func (m *BackupInfo_Volume) GetName() string

func (*BackupInfo_Volume) GetNamespace

func (m *BackupInfo_Volume) GetNamespace() string

func (*BackupInfo_Volume) GetOptions

func (m *BackupInfo_Volume) GetOptions() map[string]string

func (*BackupInfo_Volume) GetPvc

func (m *BackupInfo_Volume) GetPvc() string

func (*BackupInfo_Volume) GetStatus

func (m *BackupInfo_Volume) GetStatus() *BackupInfo_StatusInfo

func (*BackupInfo_Volume) GetTotalSize

func (m *BackupInfo_Volume) GetTotalSize() uint64

func (*BackupInfo_Volume) GetZones

func (m *BackupInfo_Volume) GetZones() []string

func (*BackupInfo_Volume) Marshal

func (m *BackupInfo_Volume) Marshal() (dAtA []byte, err error)

func (*BackupInfo_Volume) MarshalTo

func (m *BackupInfo_Volume) MarshalTo(dAtA []byte) (int, error)

func (*BackupInfo_Volume) MarshalToSizedBuffer

func (m *BackupInfo_Volume) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BackupInfo_Volume) ProtoMessage

func (*BackupInfo_Volume) ProtoMessage()

func (*BackupInfo_Volume) Reset

func (m *BackupInfo_Volume) Reset()

func (*BackupInfo_Volume) Size

func (m *BackupInfo_Volume) Size() (n int)

func (*BackupInfo_Volume) String

func (m *BackupInfo_Volume) String() string

func (*BackupInfo_Volume) Unmarshal

func (m *BackupInfo_Volume) Unmarshal(dAtA []byte) error

func (*BackupInfo_Volume) XXX_DiscardUnknown

func (m *BackupInfo_Volume) XXX_DiscardUnknown()

func (*BackupInfo_Volume) XXX_Marshal

func (m *BackupInfo_Volume) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BackupInfo_Volume) XXX_Merge

func (m *BackupInfo_Volume) XXX_Merge(src proto.Message)

func (*BackupInfo_Volume) XXX_Size

func (m *BackupInfo_Volume) XXX_Size() int

func (*BackupInfo_Volume) XXX_Unmarshal

func (m *BackupInfo_Volume) XXX_Unmarshal(b []byte) error

type BackupInspectRequest

type BackupInspectRequest struct {
	Name  string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	OrgId string `protobuf:"bytes,2,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
}

Request message structure for object inspect

func NewPopulatedBackupInspectRequest

func NewPopulatedBackupInspectRequest(r randyApi, easy bool) *BackupInspectRequest

func (*BackupInspectRequest) Descriptor

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

func (*BackupInspectRequest) Equal

func (this *BackupInspectRequest) Equal(that interface{}) bool

func (*BackupInspectRequest) GetName

func (m *BackupInspectRequest) GetName() string

func (*BackupInspectRequest) GetOrgId

func (m *BackupInspectRequest) GetOrgId() string

func (*BackupInspectRequest) Marshal

func (m *BackupInspectRequest) Marshal() (dAtA []byte, err error)

func (*BackupInspectRequest) MarshalTo

func (m *BackupInspectRequest) MarshalTo(dAtA []byte) (int, error)

func (*BackupInspectRequest) MarshalToSizedBuffer

func (m *BackupInspectRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BackupInspectRequest) ProtoMessage

func (*BackupInspectRequest) ProtoMessage()

func (*BackupInspectRequest) Reset

func (m *BackupInspectRequest) Reset()

func (*BackupInspectRequest) Size

func (m *BackupInspectRequest) Size() (n int)

func (*BackupInspectRequest) String

func (m *BackupInspectRequest) String() string

func (*BackupInspectRequest) Unmarshal

func (m *BackupInspectRequest) Unmarshal(dAtA []byte) error

func (*BackupInspectRequest) XXX_DiscardUnknown

func (m *BackupInspectRequest) XXX_DiscardUnknown()

func (*BackupInspectRequest) XXX_Marshal

func (m *BackupInspectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BackupInspectRequest) XXX_Merge

func (m *BackupInspectRequest) XXX_Merge(src proto.Message)

func (*BackupInspectRequest) XXX_Size

func (m *BackupInspectRequest) XXX_Size() int

func (*BackupInspectRequest) XXX_Unmarshal

func (m *BackupInspectRequest) XXX_Unmarshal(b []byte) error

type BackupInspectResponse

type BackupInspectResponse struct {
	Backup *BackupObject `protobuf:"bytes,1,opt,name=backup,proto3" json:"backup,omitempty"`
}

Response message structure for object inspect

func NewPopulatedBackupInspectResponse

func NewPopulatedBackupInspectResponse(r randyApi, easy bool) *BackupInspectResponse

func (*BackupInspectResponse) Descriptor

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

func (*BackupInspectResponse) Equal

func (this *BackupInspectResponse) Equal(that interface{}) bool

func (*BackupInspectResponse) GetBackup

func (m *BackupInspectResponse) GetBackup() *BackupObject

func (*BackupInspectResponse) Marshal

func (m *BackupInspectResponse) Marshal() (dAtA []byte, err error)

func (*BackupInspectResponse) MarshalTo

func (m *BackupInspectResponse) MarshalTo(dAtA []byte) (int, error)

func (*BackupInspectResponse) MarshalToSizedBuffer

func (m *BackupInspectResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BackupInspectResponse) ProtoMessage

func (*BackupInspectResponse) ProtoMessage()

func (*BackupInspectResponse) Reset

func (m *BackupInspectResponse) Reset()

func (*BackupInspectResponse) Size

func (m *BackupInspectResponse) Size() (n int)

func (*BackupInspectResponse) String

func (m *BackupInspectResponse) String() string

func (*BackupInspectResponse) Unmarshal

func (m *BackupInspectResponse) Unmarshal(dAtA []byte) error

func (*BackupInspectResponse) XXX_DiscardUnknown

func (m *BackupInspectResponse) XXX_DiscardUnknown()

func (*BackupInspectResponse) XXX_Marshal

func (m *BackupInspectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BackupInspectResponse) XXX_Merge

func (m *BackupInspectResponse) XXX_Merge(src proto.Message)

func (*BackupInspectResponse) XXX_Size

func (m *BackupInspectResponse) XXX_Size() int

func (*BackupInspectResponse) XXX_Unmarshal

func (m *BackupInspectResponse) XXX_Unmarshal(b []byte) error

type BackupLocationClient

type BackupLocationClient interface {
	// Create creates new backup location
	Create(ctx context.Context, in *BackupLocationCreateRequest, opts ...grpc.CallOption) (*BackupLocationCreateResponse, error)
	// Update given backup location details
	Update(ctx context.Context, in *BackupLocationUpdateRequest, opts ...grpc.CallOption) (*BackupLocationUpdateResponse, error)
	// Enumerate returns a list of backup locations
	Enumerate(ctx context.Context, in *BackupLocationEnumerateRequest, opts ...grpc.CallOption) (*BackupLocationEnumerateResponse, error)
	// Inspect returns detailed information about a specified backup location
	Inspect(ctx context.Context, in *BackupLocationInspectRequest, opts ...grpc.CallOption) (*BackupLocationInspectResponse, error)
	// Delete removes a backup location
	Delete(ctx context.Context, in *BackupLocationDeleteRequest, opts ...grpc.CallOption) (*BackupLocationDeleteResponse, error)
	// Verify if a backup location is valid
	Validate(ctx context.Context, in *BackupLocationValidateRequest, opts ...grpc.CallOption) (*BackupLocationValidateResponse, error)
	// UpdateOwnership updates ownership of existing object
	UpdateOwnership(ctx context.Context, in *BackupLocationOwnershipUpdateRequest, opts ...grpc.CallOption) (*BackupLocationOwnershipUpdateResponse, error)
}

BackupLocationClient is the client API for BackupLocation service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewBackupLocationClient

func NewBackupLocationClient(cc *grpc.ClientConn) BackupLocationClient

type BackupLocationCreateRequest

type BackupLocationCreateRequest struct {
	*CreateMetadata `protobuf:"bytes,1,opt,name=metadata,proto3,embedded=metadata" json:"metadata,omitempty"`
	BackupLocation  *BackupLocationInfo `protobuf:"bytes,2,opt,name=backup_location,json=backupLocation,proto3" json:"backup_location,omitempty"`
}

Define BackupLocationCreateRequest struct

func NewPopulatedBackupLocationCreateRequest

func NewPopulatedBackupLocationCreateRequest(r randyApi, easy bool) *BackupLocationCreateRequest

func (*BackupLocationCreateRequest) Descriptor

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

func (*BackupLocationCreateRequest) Equal

func (this *BackupLocationCreateRequest) Equal(that interface{}) bool

func (*BackupLocationCreateRequest) GetBackupLocation

func (m *BackupLocationCreateRequest) GetBackupLocation() *BackupLocationInfo

func (*BackupLocationCreateRequest) Marshal

func (m *BackupLocationCreateRequest) Marshal() (dAtA []byte, err error)

func (*BackupLocationCreateRequest) MarshalTo

func (m *BackupLocationCreateRequest) MarshalTo(dAtA []byte) (int, error)

func (*BackupLocationCreateRequest) MarshalToSizedBuffer

func (m *BackupLocationCreateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BackupLocationCreateRequest) ProtoMessage

func (*BackupLocationCreateRequest) ProtoMessage()

func (*BackupLocationCreateRequest) Reset

func (m *BackupLocationCreateRequest) Reset()

func (*BackupLocationCreateRequest) Size

func (m *BackupLocationCreateRequest) Size() (n int)

func (*BackupLocationCreateRequest) String

func (m *BackupLocationCreateRequest) String() string

func (*BackupLocationCreateRequest) Unmarshal

func (m *BackupLocationCreateRequest) Unmarshal(dAtA []byte) error

func (*BackupLocationCreateRequest) XXX_DiscardUnknown

func (m *BackupLocationCreateRequest) XXX_DiscardUnknown()

func (*BackupLocationCreateRequest) XXX_Marshal

func (m *BackupLocationCreateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BackupLocationCreateRequest) XXX_Merge

func (m *BackupLocationCreateRequest) XXX_Merge(src proto.Message)

func (*BackupLocationCreateRequest) XXX_Size

func (m *BackupLocationCreateRequest) XXX_Size() int

func (*BackupLocationCreateRequest) XXX_Unmarshal

func (m *BackupLocationCreateRequest) XXX_Unmarshal(b []byte) error

type BackupLocationCreateResponse

type BackupLocationCreateResponse struct {
}

Define BackupLocationCreateResponse struct

func NewPopulatedBackupLocationCreateResponse

func NewPopulatedBackupLocationCreateResponse(r randyApi, easy bool) *BackupLocationCreateResponse

func (*BackupLocationCreateResponse) Descriptor

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

func (*BackupLocationCreateResponse) Equal

func (this *BackupLocationCreateResponse) Equal(that interface{}) bool

func (*BackupLocationCreateResponse) Marshal

func (m *BackupLocationCreateResponse) Marshal() (dAtA []byte, err error)

func (*BackupLocationCreateResponse) MarshalTo

func (m *BackupLocationCreateResponse) MarshalTo(dAtA []byte) (int, error)

func (*BackupLocationCreateResponse) MarshalToSizedBuffer

func (m *BackupLocationCreateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BackupLocationCreateResponse) ProtoMessage

func (*BackupLocationCreateResponse) ProtoMessage()

func (*BackupLocationCreateResponse) Reset

func (m *BackupLocationCreateResponse) Reset()

func (*BackupLocationCreateResponse) Size

func (m *BackupLocationCreateResponse) Size() (n int)

func (*BackupLocationCreateResponse) String

func (*BackupLocationCreateResponse) Unmarshal

func (m *BackupLocationCreateResponse) Unmarshal(dAtA []byte) error

func (*BackupLocationCreateResponse) XXX_DiscardUnknown

func (m *BackupLocationCreateResponse) XXX_DiscardUnknown()

func (*BackupLocationCreateResponse) XXX_Marshal

func (m *BackupLocationCreateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BackupLocationCreateResponse) XXX_Merge

func (m *BackupLocationCreateResponse) XXX_Merge(src proto.Message)

func (*BackupLocationCreateResponse) XXX_Size

func (m *BackupLocationCreateResponse) XXX_Size() int

func (*BackupLocationCreateResponse) XXX_Unmarshal

func (m *BackupLocationCreateResponse) XXX_Unmarshal(b []byte) error

type BackupLocationDeleteRequest

type BackupLocationDeleteRequest struct {
	OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
	Name  string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// delete_backups indicates whether the cloud backup files need to
	// be deleted or retained.
	DeleteBackups bool   `protobuf:"varint,3,opt,name=delete_backups,json=deleteBackups,proto3" json:"delete_backups,omitempty"`
	Uid           string `protobuf:"bytes,4,opt,name=uid,proto3" json:"uid,omitempty"`
}

Define BackupLocationDeleteRequest struct

func NewPopulatedBackupLocationDeleteRequest

func NewPopulatedBackupLocationDeleteRequest(r randyApi, easy bool) *BackupLocationDeleteRequest

func (*BackupLocationDeleteRequest) Descriptor

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

func (*BackupLocationDeleteRequest) Equal

func (this *BackupLocationDeleteRequest) Equal(that interface{}) bool

func (*BackupLocationDeleteRequest) GetDeleteBackups

func (m *BackupLocationDeleteRequest) GetDeleteBackups() bool

func (*BackupLocationDeleteRequest) GetName

func (m *BackupLocationDeleteRequest) GetName() string

func (*BackupLocationDeleteRequest) GetOrgId

func (m *BackupLocationDeleteRequest) GetOrgId() string

func (*BackupLocationDeleteRequest) GetUid added in v1.2.1

func (m *BackupLocationDeleteRequest) GetUid() string

func (*BackupLocationDeleteRequest) Marshal

func (m *BackupLocationDeleteRequest) Marshal() (dAtA []byte, err error)

func (*BackupLocationDeleteRequest) MarshalTo

func (m *BackupLocationDeleteRequest) MarshalTo(dAtA []byte) (int, error)

func (*BackupLocationDeleteRequest) MarshalToSizedBuffer

func (m *BackupLocationDeleteRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BackupLocationDeleteRequest) ProtoMessage

func (*BackupLocationDeleteRequest) ProtoMessage()

func (*BackupLocationDeleteRequest) Reset

func (m *BackupLocationDeleteRequest) Reset()

func (*BackupLocationDeleteRequest) Size

func (m *BackupLocationDeleteRequest) Size() (n int)

func (*BackupLocationDeleteRequest) String

func (m *BackupLocationDeleteRequest) String() string

func (*BackupLocationDeleteRequest) Unmarshal

func (m *BackupLocationDeleteRequest) Unmarshal(dAtA []byte) error

func (*BackupLocationDeleteRequest) XXX_DiscardUnknown

func (m *BackupLocationDeleteRequest) XXX_DiscardUnknown()

func (*BackupLocationDeleteRequest) XXX_Marshal

func (m *BackupLocationDeleteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BackupLocationDeleteRequest) XXX_Merge

func (m *BackupLocationDeleteRequest) XXX_Merge(src proto.Message)

func (*BackupLocationDeleteRequest) XXX_Size

func (m *BackupLocationDeleteRequest) XXX_Size() int

func (*BackupLocationDeleteRequest) XXX_Unmarshal

func (m *BackupLocationDeleteRequest) XXX_Unmarshal(b []byte) error

type BackupLocationDeleteResponse

type BackupLocationDeleteResponse struct {
}

Define BackupLocationDeleteResponse struct

func NewPopulatedBackupLocationDeleteResponse

func NewPopulatedBackupLocationDeleteResponse(r randyApi, easy bool) *BackupLocationDeleteResponse

func (*BackupLocationDeleteResponse) Descriptor

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

func (*BackupLocationDeleteResponse) Equal

func (this *BackupLocationDeleteResponse) Equal(that interface{}) bool

func (*BackupLocationDeleteResponse) Marshal

func (m *BackupLocationDeleteResponse) Marshal() (dAtA []byte, err error)

func (*BackupLocationDeleteResponse) MarshalTo

func (m *BackupLocationDeleteResponse) MarshalTo(dAtA []byte) (int, error)

func (*BackupLocationDeleteResponse) MarshalToSizedBuffer

func (m *BackupLocationDeleteResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BackupLocationDeleteResponse) ProtoMessage

func (*BackupLocationDeleteResponse) ProtoMessage()

func (*BackupLocationDeleteResponse) Reset

func (m *BackupLocationDeleteResponse) Reset()

func (*BackupLocationDeleteResponse) Size

func (m *BackupLocationDeleteResponse) Size() (n int)

func (*BackupLocationDeleteResponse) String

func (*BackupLocationDeleteResponse) Unmarshal

func (m *BackupLocationDeleteResponse) Unmarshal(dAtA []byte) error

func (*BackupLocationDeleteResponse) XXX_DiscardUnknown

func (m *BackupLocationDeleteResponse) XXX_DiscardUnknown()

func (*BackupLocationDeleteResponse) XXX_Marshal

func (m *BackupLocationDeleteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BackupLocationDeleteResponse) XXX_Merge

func (m *BackupLocationDeleteResponse) XXX_Merge(src proto.Message)

func (*BackupLocationDeleteResponse) XXX_Size

func (m *BackupLocationDeleteResponse) XXX_Size() int

func (*BackupLocationDeleteResponse) XXX_Unmarshal

func (m *BackupLocationDeleteResponse) XXX_Unmarshal(b []byte) error

type BackupLocationEnumerateRequest

type BackupLocationEnumerateRequest struct {
	OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
	// label selectors for the object for filtering
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// cloud credential name.
	// Enumerate will return list of backuplocation that
	// uses this cloud credential
	// cloud_credential is deprecated, not to be used.
	CloudCredential    string     `protobuf:"bytes,3,opt,name=cloud_credential,json=cloudCredential,proto3" json:"cloud_credential,omitempty"`
	CloudCredentialRef *ObjectRef `protobuf:"bytes,4,opt,name=cloud_credential_ref,json=cloudCredentialRef,proto3" json:"cloud_credential_ref,omitempty"`
}

Define BackupLocationEnumerateRequest struct

func NewPopulatedBackupLocationEnumerateRequest

func NewPopulatedBackupLocationEnumerateRequest(r randyApi, easy bool) *BackupLocationEnumerateRequest

func (*BackupLocationEnumerateRequest) Descriptor

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

func (*BackupLocationEnumerateRequest) Equal

func (this *BackupLocationEnumerateRequest) Equal(that interface{}) bool

func (*BackupLocationEnumerateRequest) GetCloudCredential added in v1.2.1

func (m *BackupLocationEnumerateRequest) GetCloudCredential() string

func (*BackupLocationEnumerateRequest) GetCloudCredentialRef added in v1.2.1

func (m *BackupLocationEnumerateRequest) GetCloudCredentialRef() *ObjectRef

func (*BackupLocationEnumerateRequest) GetLabels

func (m *BackupLocationEnumerateRequest) GetLabels() map[string]string

func (*BackupLocationEnumerateRequest) GetOrgId

func (m *BackupLocationEnumerateRequest) GetOrgId() string

func (*BackupLocationEnumerateRequest) Marshal

func (m *BackupLocationEnumerateRequest) Marshal() (dAtA []byte, err error)

func (*BackupLocationEnumerateRequest) MarshalTo

func (m *BackupLocationEnumerateRequest) MarshalTo(dAtA []byte) (int, error)

func (*BackupLocationEnumerateRequest) MarshalToSizedBuffer

func (m *BackupLocationEnumerateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BackupLocationEnumerateRequest) ProtoMessage

func (*BackupLocationEnumerateRequest) ProtoMessage()

func (*BackupLocationEnumerateRequest) Reset

func (m *BackupLocationEnumerateRequest) Reset()

func (*BackupLocationEnumerateRequest) Size

func (m *BackupLocationEnumerateRequest) Size() (n int)

func (*BackupLocationEnumerateRequest) String

func (*BackupLocationEnumerateRequest) Unmarshal

func (m *BackupLocationEnumerateRequest) Unmarshal(dAtA []byte) error

func (*BackupLocationEnumerateRequest) XXX_DiscardUnknown

func (m *BackupLocationEnumerateRequest) XXX_DiscardUnknown()

func (*BackupLocationEnumerateRequest) XXX_Marshal

func (m *BackupLocationEnumerateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BackupLocationEnumerateRequest) XXX_Merge

func (m *BackupLocationEnumerateRequest) XXX_Merge(src proto.Message)

func (*BackupLocationEnumerateRequest) XXX_Size

func (m *BackupLocationEnumerateRequest) XXX_Size() int

func (*BackupLocationEnumerateRequest) XXX_Unmarshal

func (m *BackupLocationEnumerateRequest) XXX_Unmarshal(b []byte) error

type BackupLocationEnumerateResponse

type BackupLocationEnumerateResponse struct {
	BackupLocations []*BackupLocationObject `protobuf:"bytes,1,rep,name=backup_locations,json=backupLocations,proto3" json:"backup_locations,omitempty"`
}

Define BackupLocationEnumerateResponse struct

func NewPopulatedBackupLocationEnumerateResponse

func NewPopulatedBackupLocationEnumerateResponse(r randyApi, easy bool) *BackupLocationEnumerateResponse

func (*BackupLocationEnumerateResponse) Descriptor

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

func (*BackupLocationEnumerateResponse) Equal

func (this *BackupLocationEnumerateResponse) Equal(that interface{}) bool

func (*BackupLocationEnumerateResponse) GetBackupLocations

func (m *BackupLocationEnumerateResponse) GetBackupLocations() []*BackupLocationObject

func (*BackupLocationEnumerateResponse) Marshal

func (m *BackupLocationEnumerateResponse) Marshal() (dAtA []byte, err error)

func (*BackupLocationEnumerateResponse) MarshalTo

func (m *BackupLocationEnumerateResponse) MarshalTo(dAtA []byte) (int, error)

func (*BackupLocationEnumerateResponse) MarshalToSizedBuffer

func (m *BackupLocationEnumerateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BackupLocationEnumerateResponse) ProtoMessage

func (*BackupLocationEnumerateResponse) ProtoMessage()

func (*BackupLocationEnumerateResponse) Reset

func (*BackupLocationEnumerateResponse) Size

func (m *BackupLocationEnumerateResponse) Size() (n int)

func (*BackupLocationEnumerateResponse) String

func (*BackupLocationEnumerateResponse) Unmarshal

func (m *BackupLocationEnumerateResponse) Unmarshal(dAtA []byte) error

func (*BackupLocationEnumerateResponse) XXX_DiscardUnknown

func (m *BackupLocationEnumerateResponse) XXX_DiscardUnknown()

func (*BackupLocationEnumerateResponse) XXX_Marshal

func (m *BackupLocationEnumerateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BackupLocationEnumerateResponse) XXX_Merge

func (m *BackupLocationEnumerateResponse) XXX_Merge(src proto.Message)

func (*BackupLocationEnumerateResponse) XXX_Size

func (m *BackupLocationEnumerateResponse) XXX_Size() int

func (*BackupLocationEnumerateResponse) XXX_Unmarshal

func (m *BackupLocationEnumerateResponse) XXX_Unmarshal(b []byte) error

type BackupLocationInfo

type BackupLocationInfo struct {
	Type          BackupLocationInfo_Type `protobuf:"varint,1,opt,name=type,proto3,enum=BackupLocationInfo_Type" json:"type,omitempty"`
	Path          string                  `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
	EncryptionKey string                  `protobuf:"bytes,3,opt,name=encryption_key,json=encryptionKey,proto3" json:"encryptionkey" secure:"true"`
	// cloud_credential is deprecated, not to be used.
	CloudCredential         string                         `protobuf:"bytes,4,opt,name=cloud_credential,json=cloudCredential,proto3" json:"cloud_credential,omitempty"`
	Status                  *BackupLocationInfo_StatusInfo `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"`
	DeleteBackups           bool                           `protobuf:"varint,6,opt,name=delete_backups,json=deleteBackups,proto3" json:"delete_backups,omitempty"`
	ValidateCloudCredential bool                           `` /* 133-byte string literal not displayed */
	CloudCredentialRef      *ObjectRef                     `protobuf:"bytes,8,opt,name=cloud_credential_ref,json=cloudCredentialRef,proto3" json:"cloud_credential_ref,omitempty"`
	// Types that are valid to be assigned to Config:
	//	*BackupLocationInfo_S3Config
	Config isBackupLocationInfo_Config `protobuf_oneof:"config"`
}

func NewPopulatedBackupLocationInfo

func NewPopulatedBackupLocationInfo(r randyApi, easy bool) *BackupLocationInfo

func (*BackupLocationInfo) Descriptor

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

func (*BackupLocationInfo) Equal

func (this *BackupLocationInfo) Equal(that interface{}) bool

func (*BackupLocationInfo) GetCloudCredential

func (m *BackupLocationInfo) GetCloudCredential() string

func (*BackupLocationInfo) GetCloudCredentialRef added in v1.2.1

func (m *BackupLocationInfo) GetCloudCredentialRef() *ObjectRef

func (*BackupLocationInfo) GetConfig

func (m *BackupLocationInfo) GetConfig() isBackupLocationInfo_Config

func (*BackupLocationInfo) GetDeleteBackups

func (m *BackupLocationInfo) GetDeleteBackups() bool

func (*BackupLocationInfo) GetEncryptionKey

func (m *BackupLocationInfo) GetEncryptionKey() string

func (*BackupLocationInfo) GetPath

func (m *BackupLocationInfo) GetPath() string

func (*BackupLocationInfo) GetS3Config

func (m *BackupLocationInfo) GetS3Config() *S3Config

func (*BackupLocationInfo) GetStatus

func (*BackupLocationInfo) GetType

func (*BackupLocationInfo) GetValidateCloudCredential

func (m *BackupLocationInfo) GetValidateCloudCredential() bool

func (*BackupLocationInfo) Marshal

func (m *BackupLocationInfo) Marshal() (dAtA []byte, err error)

func (*BackupLocationInfo) MarshalTo

func (m *BackupLocationInfo) MarshalTo(dAtA []byte) (int, error)

func (*BackupLocationInfo) MarshalToSizedBuffer

func (m *BackupLocationInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BackupLocationInfo) ProtoMessage

func (*BackupLocationInfo) ProtoMessage()

func (*BackupLocationInfo) Reset

func (m *BackupLocationInfo) Reset()

func (*BackupLocationInfo) Size

func (m *BackupLocationInfo) Size() (n int)

func (*BackupLocationInfo) String

func (m *BackupLocationInfo) String() string

func (*BackupLocationInfo) Unmarshal

func (m *BackupLocationInfo) Unmarshal(dAtA []byte) error

func (*BackupLocationInfo) XXX_DiscardUnknown

func (m *BackupLocationInfo) XXX_DiscardUnknown()

func (*BackupLocationInfo) XXX_Marshal

func (m *BackupLocationInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BackupLocationInfo) XXX_Merge

func (m *BackupLocationInfo) XXX_Merge(src proto.Message)

func (*BackupLocationInfo) XXX_OneofWrappers

func (*BackupLocationInfo) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*BackupLocationInfo) XXX_Size

func (m *BackupLocationInfo) XXX_Size() int

func (*BackupLocationInfo) XXX_Unmarshal

func (m *BackupLocationInfo) XXX_Unmarshal(b []byte) error

type BackupLocationInfo_S3Config

type BackupLocationInfo_S3Config struct {
	S3Config *S3Config `protobuf:"bytes,100,opt,name=s3_config,json=s3Config,proto3,oneof" json:"s3_config,omitempty"`
}

func NewPopulatedBackupLocationInfo_S3Config

func NewPopulatedBackupLocationInfo_S3Config(r randyApi, easy bool) *BackupLocationInfo_S3Config

func (*BackupLocationInfo_S3Config) Equal

func (this *BackupLocationInfo_S3Config) Equal(that interface{}) bool

func (*BackupLocationInfo_S3Config) MarshalTo

func (m *BackupLocationInfo_S3Config) MarshalTo(dAtA []byte) (int, error)

func (*BackupLocationInfo_S3Config) MarshalToSizedBuffer

func (m *BackupLocationInfo_S3Config) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BackupLocationInfo_S3Config) Size

func (m *BackupLocationInfo_S3Config) Size() (n int)

type BackupLocationInfo_StatusInfo

type BackupLocationInfo_StatusInfo struct {
	Status BackupLocationInfo_StatusInfo_Status `protobuf:"varint,1,opt,name=status,proto3,enum=BackupLocationInfo_StatusInfo_Status" json:"status,omitempty"`
	Reason string                               `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"`
}

Message for maintaining status of the object.

func NewPopulatedBackupLocationInfo_StatusInfo

func NewPopulatedBackupLocationInfo_StatusInfo(r randyApi, easy bool) *BackupLocationInfo_StatusInfo

func (*BackupLocationInfo_StatusInfo) Descriptor

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

func (*BackupLocationInfo_StatusInfo) Equal

func (this *BackupLocationInfo_StatusInfo) Equal(that interface{}) bool

func (*BackupLocationInfo_StatusInfo) GetReason

func (m *BackupLocationInfo_StatusInfo) GetReason() string

func (*BackupLocationInfo_StatusInfo) GetStatus

func (*BackupLocationInfo_StatusInfo) Marshal

func (m *BackupLocationInfo_StatusInfo) Marshal() (dAtA []byte, err error)

func (*BackupLocationInfo_StatusInfo) MarshalTo

func (m *BackupLocationInfo_StatusInfo) MarshalTo(dAtA []byte) (int, error)

func (*BackupLocationInfo_StatusInfo) MarshalToSizedBuffer

func (m *BackupLocationInfo_StatusInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BackupLocationInfo_StatusInfo) ProtoMessage

func (*BackupLocationInfo_StatusInfo) ProtoMessage()

func (*BackupLocationInfo_StatusInfo) Reset

func (m *BackupLocationInfo_StatusInfo) Reset()

func (*BackupLocationInfo_StatusInfo) Size

func (m *BackupLocationInfo_StatusInfo) Size() (n int)

func (*BackupLocationInfo_StatusInfo) String

func (*BackupLocationInfo_StatusInfo) Unmarshal

func (m *BackupLocationInfo_StatusInfo) Unmarshal(dAtA []byte) error

func (*BackupLocationInfo_StatusInfo) XXX_DiscardUnknown

func (m *BackupLocationInfo_StatusInfo) XXX_DiscardUnknown()

func (*BackupLocationInfo_StatusInfo) XXX_Marshal

func (m *BackupLocationInfo_StatusInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BackupLocationInfo_StatusInfo) XXX_Merge

func (m *BackupLocationInfo_StatusInfo) XXX_Merge(src proto.Message)

func (*BackupLocationInfo_StatusInfo) XXX_Size

func (m *BackupLocationInfo_StatusInfo) XXX_Size() int

func (*BackupLocationInfo_StatusInfo) XXX_Unmarshal

func (m *BackupLocationInfo_StatusInfo) XXX_Unmarshal(b []byte) error

type BackupLocationInfo_StatusInfo_Status

type BackupLocationInfo_StatusInfo_Status int32
const (
	BackupLocationInfo_StatusInfo_Invalid       BackupLocationInfo_StatusInfo_Status = 0
	BackupLocationInfo_StatusInfo_Valid         BackupLocationInfo_StatusInfo_Status = 1
	BackupLocationInfo_StatusInfo_DeletePending BackupLocationInfo_StatusInfo_Status = 2
)

func (BackupLocationInfo_StatusInfo_Status) EnumDescriptor

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

func (BackupLocationInfo_StatusInfo_Status) String

type BackupLocationInfo_Type

type BackupLocationInfo_Type int32
const (
	BackupLocationInfo_Invalid BackupLocationInfo_Type = 0
	BackupLocationInfo_S3      BackupLocationInfo_Type = 1
	BackupLocationInfo_Azure   BackupLocationInfo_Type = 2
	BackupLocationInfo_Google  BackupLocationInfo_Type = 3
)

func (BackupLocationInfo_Type) EnumDescriptor

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

func (BackupLocationInfo_Type) String

func (x BackupLocationInfo_Type) String() string

type BackupLocationInspectRequest

type BackupLocationInspectRequest struct {
	OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
	Name  string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Uid   string `protobuf:"bytes,3,opt,name=uid,proto3" json:"uid,omitempty"`
}

Define BackupLocationInspectRequest struct

func NewPopulatedBackupLocationInspectRequest

func NewPopulatedBackupLocationInspectRequest(r randyApi, easy bool) *BackupLocationInspectRequest

func (*BackupLocationInspectRequest) Descriptor

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

func (*BackupLocationInspectRequest) Equal

func (this *BackupLocationInspectRequest) Equal(that interface{}) bool

func (*BackupLocationInspectRequest) GetName

func (m *BackupLocationInspectRequest) GetName() string

func (*BackupLocationInspectRequest) GetOrgId

func (m *BackupLocationInspectRequest) GetOrgId() string

func (*BackupLocationInspectRequest) GetUid added in v1.2.1

func (*BackupLocationInspectRequest) Marshal

func (m *BackupLocationInspectRequest) Marshal() (dAtA []byte, err error)

func (*BackupLocationInspectRequest) MarshalTo

func (m *BackupLocationInspectRequest) MarshalTo(dAtA []byte) (int, error)

func (*BackupLocationInspectRequest) MarshalToSizedBuffer

func (m *BackupLocationInspectRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BackupLocationInspectRequest) ProtoMessage

func (*BackupLocationInspectRequest) ProtoMessage()

func (*BackupLocationInspectRequest) Reset

func (m *BackupLocationInspectRequest) Reset()

func (*BackupLocationInspectRequest) Size

func (m *BackupLocationInspectRequest) Size() (n int)

func (*BackupLocationInspectRequest) String

func (*BackupLocationInspectRequest) Unmarshal

func (m *BackupLocationInspectRequest) Unmarshal(dAtA []byte) error

func (*BackupLocationInspectRequest) XXX_DiscardUnknown

func (m *BackupLocationInspectRequest) XXX_DiscardUnknown()

func (*BackupLocationInspectRequest) XXX_Marshal

func (m *BackupLocationInspectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BackupLocationInspectRequest) XXX_Merge

func (m *BackupLocationInspectRequest) XXX_Merge(src proto.Message)

func (*BackupLocationInspectRequest) XXX_Size

func (m *BackupLocationInspectRequest) XXX_Size() int

func (*BackupLocationInspectRequest) XXX_Unmarshal

func (m *BackupLocationInspectRequest) XXX_Unmarshal(b []byte) error

type BackupLocationInspectResponse

type BackupLocationInspectResponse struct {
	BackupLocation *BackupLocationObject `protobuf:"bytes,1,opt,name=backup_location,json=backupLocation,proto3" json:"backup_location,omitempty"`
}

Define BackupLocationInspectResponse struct

func NewPopulatedBackupLocationInspectResponse

func NewPopulatedBackupLocationInspectResponse(r randyApi, easy bool) *BackupLocationInspectResponse

func (*BackupLocationInspectResponse) Descriptor

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

func (*BackupLocationInspectResponse) Equal

func (this *BackupLocationInspectResponse) Equal(that interface{}) bool

func (*BackupLocationInspectResponse) GetBackupLocation

func (m *BackupLocationInspectResponse) GetBackupLocation() *BackupLocationObject

func (*BackupLocationInspectResponse) Marshal

func (m *BackupLocationInspectResponse) Marshal() (dAtA []byte, err error)

func (*BackupLocationInspectResponse) MarshalTo

func (m *BackupLocationInspectResponse) MarshalTo(dAtA []byte) (int, error)

func (*BackupLocationInspectResponse) MarshalToSizedBuffer

func (m *BackupLocationInspectResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BackupLocationInspectResponse) ProtoMessage

func (*BackupLocationInspectResponse) ProtoMessage()

func (*BackupLocationInspectResponse) Reset

func (m *BackupLocationInspectResponse) Reset()

func (*BackupLocationInspectResponse) Size

func (m *BackupLocationInspectResponse) Size() (n int)

func (*BackupLocationInspectResponse) String

func (*BackupLocationInspectResponse) Unmarshal

func (m *BackupLocationInspectResponse) Unmarshal(dAtA []byte) error

func (*BackupLocationInspectResponse) XXX_DiscardUnknown

func (m *BackupLocationInspectResponse) XXX_DiscardUnknown()

func (*BackupLocationInspectResponse) XXX_Marshal

func (m *BackupLocationInspectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BackupLocationInspectResponse) XXX_Merge

func (m *BackupLocationInspectResponse) XXX_Merge(src proto.Message)

func (*BackupLocationInspectResponse) XXX_Size

func (m *BackupLocationInspectResponse) XXX_Size() int

func (*BackupLocationInspectResponse) XXX_Unmarshal

func (m *BackupLocationInspectResponse) XXX_Unmarshal(b []byte) error

type BackupLocationObject

type BackupLocationObject struct {
	*Metadata          `protobuf:"bytes,1,opt,name=metadata,proto3,embedded=metadata" json:"metadata"`
	BackupLocationInfo *BackupLocationInfo `protobuf:"bytes,2,opt,name=backup_location_info,json=backupLocationInfo,proto3" json:"backup_location_info,omitempty"`
}

func NewPopulatedBackupLocationObject

func NewPopulatedBackupLocationObject(r randyApi, easy bool) *BackupLocationObject

func (*BackupLocationObject) Descriptor

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

func (*BackupLocationObject) Equal

func (this *BackupLocationObject) Equal(that interface{}) bool

func (*BackupLocationObject) GetBackupLocationInfo

func (m *BackupLocationObject) GetBackupLocationInfo() *BackupLocationInfo

func (*BackupLocationObject) Marshal

func (m *BackupLocationObject) Marshal() (dAtA []byte, err error)

func (*BackupLocationObject) MarshalTo

func (m *BackupLocationObject) MarshalTo(dAtA []byte) (int, error)

func (*BackupLocationObject) MarshalToSizedBuffer

func (m *BackupLocationObject) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BackupLocationObject) ProtoMessage

func (*BackupLocationObject) ProtoMessage()

func (*BackupLocationObject) Reset

func (m *BackupLocationObject) Reset()

func (*BackupLocationObject) Size

func (m *BackupLocationObject) Size() (n int)

func (*BackupLocationObject) String

func (m *BackupLocationObject) String() string

func (*BackupLocationObject) Unmarshal

func (m *BackupLocationObject) Unmarshal(dAtA []byte) error

func (*BackupLocationObject) XXX_DiscardUnknown

func (m *BackupLocationObject) XXX_DiscardUnknown()

func (*BackupLocationObject) XXX_Marshal

func (m *BackupLocationObject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BackupLocationObject) XXX_Merge

func (m *BackupLocationObject) XXX_Merge(src proto.Message)

func (*BackupLocationObject) XXX_Size

func (m *BackupLocationObject) XXX_Size() int

func (*BackupLocationObject) XXX_Unmarshal

func (m *BackupLocationObject) XXX_Unmarshal(b []byte) error

type BackupLocationOwnershipUpdateRequest added in v1.2.1

type BackupLocationOwnershipUpdateRequest struct {
	OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
	// Backup location to be updated
	Name      string     `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Ownership *Ownership `protobuf:"bytes,3,opt,name=ownership,proto3" json:"ownership,omitempty"`
	Uid       string     `protobuf:"bytes,4,opt,name=uid,proto3" json:"uid,omitempty"`
}

Define BackupLocationOwnershipUpdateRequest struct

func NewPopulatedBackupLocationOwnershipUpdateRequest added in v1.2.1

func NewPopulatedBackupLocationOwnershipUpdateRequest(r randyApi, easy bool) *BackupLocationOwnershipUpdateRequest

func (*BackupLocationOwnershipUpdateRequest) Descriptor added in v1.2.1

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

func (*BackupLocationOwnershipUpdateRequest) Equal added in v1.2.1

func (this *BackupLocationOwnershipUpdateRequest) Equal(that interface{}) bool

func (*BackupLocationOwnershipUpdateRequest) GetName added in v1.2.1

func (*BackupLocationOwnershipUpdateRequest) GetOrgId added in v1.2.1

func (*BackupLocationOwnershipUpdateRequest) GetOwnership added in v1.2.1

func (*BackupLocationOwnershipUpdateRequest) GetUid added in v1.2.1

func (*BackupLocationOwnershipUpdateRequest) Marshal added in v1.2.1

func (m *BackupLocationOwnershipUpdateRequest) Marshal() (dAtA []byte, err error)

func (*BackupLocationOwnershipUpdateRequest) MarshalTo added in v1.2.1

func (m *BackupLocationOwnershipUpdateRequest) MarshalTo(dAtA []byte) (int, error)

func (*BackupLocationOwnershipUpdateRequest) MarshalToSizedBuffer added in v1.2.1

func (m *BackupLocationOwnershipUpdateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BackupLocationOwnershipUpdateRequest) ProtoMessage added in v1.2.1

func (*BackupLocationOwnershipUpdateRequest) ProtoMessage()

func (*BackupLocationOwnershipUpdateRequest) Reset added in v1.2.1

func (*BackupLocationOwnershipUpdateRequest) Size added in v1.2.1

func (*BackupLocationOwnershipUpdateRequest) String added in v1.2.1

func (*BackupLocationOwnershipUpdateRequest) Unmarshal added in v1.2.1

func (m *BackupLocationOwnershipUpdateRequest) Unmarshal(dAtA []byte) error

func (*BackupLocationOwnershipUpdateRequest) XXX_DiscardUnknown added in v1.2.1

func (m *BackupLocationOwnershipUpdateRequest) XXX_DiscardUnknown()

func (*BackupLocationOwnershipUpdateRequest) XXX_Marshal added in v1.2.1

func (m *BackupLocationOwnershipUpdateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BackupLocationOwnershipUpdateRequest) XXX_Merge added in v1.2.1

func (*BackupLocationOwnershipUpdateRequest) XXX_Size added in v1.2.1

func (*BackupLocationOwnershipUpdateRequest) XXX_Unmarshal added in v1.2.1

func (m *BackupLocationOwnershipUpdateRequest) XXX_Unmarshal(b []byte) error

type BackupLocationOwnershipUpdateResponse added in v1.2.1

type BackupLocationOwnershipUpdateResponse struct {
}

Define BackupLocationOwnershipUpdateResponse struct

func NewPopulatedBackupLocationOwnershipUpdateResponse added in v1.2.1

func NewPopulatedBackupLocationOwnershipUpdateResponse(r randyApi, easy bool) *BackupLocationOwnershipUpdateResponse

func (*BackupLocationOwnershipUpdateResponse) Descriptor added in v1.2.1

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

func (*BackupLocationOwnershipUpdateResponse) Equal added in v1.2.1

func (this *BackupLocationOwnershipUpdateResponse) Equal(that interface{}) bool

func (*BackupLocationOwnershipUpdateResponse) Marshal added in v1.2.1

func (m *BackupLocationOwnershipUpdateResponse) Marshal() (dAtA []byte, err error)

func (*BackupLocationOwnershipUpdateResponse) MarshalTo added in v1.2.1

func (m *BackupLocationOwnershipUpdateResponse) MarshalTo(dAtA []byte) (int, error)

func (*BackupLocationOwnershipUpdateResponse) MarshalToSizedBuffer added in v1.2.1

func (m *BackupLocationOwnershipUpdateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BackupLocationOwnershipUpdateResponse) ProtoMessage added in v1.2.1

func (*BackupLocationOwnershipUpdateResponse) ProtoMessage()

func (*BackupLocationOwnershipUpdateResponse) Reset added in v1.2.1

func (*BackupLocationOwnershipUpdateResponse) Size added in v1.2.1

func (*BackupLocationOwnershipUpdateResponse) String added in v1.2.1

func (*BackupLocationOwnershipUpdateResponse) Unmarshal added in v1.2.1

func (m *BackupLocationOwnershipUpdateResponse) Unmarshal(dAtA []byte) error

func (*BackupLocationOwnershipUpdateResponse) XXX_DiscardUnknown added in v1.2.1

func (m *BackupLocationOwnershipUpdateResponse) XXX_DiscardUnknown()

func (*BackupLocationOwnershipUpdateResponse) XXX_Marshal added in v1.2.1

func (m *BackupLocationOwnershipUpdateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BackupLocationOwnershipUpdateResponse) XXX_Merge added in v1.2.1

func (*BackupLocationOwnershipUpdateResponse) XXX_Size added in v1.2.1

func (*BackupLocationOwnershipUpdateResponse) XXX_Unmarshal added in v1.2.1

func (m *BackupLocationOwnershipUpdateResponse) XXX_Unmarshal(b []byte) error

type BackupLocationServer

type BackupLocationServer interface {
	// Create creates new backup location
	Create(context.Context, *BackupLocationCreateRequest) (*BackupLocationCreateResponse, error)
	// Update given backup location details
	Update(context.Context, *BackupLocationUpdateRequest) (*BackupLocationUpdateResponse, error)
	// Enumerate returns a list of backup locations
	Enumerate(context.Context, *BackupLocationEnumerateRequest) (*BackupLocationEnumerateResponse, error)
	// Inspect returns detailed information about a specified backup location
	Inspect(context.Context, *BackupLocationInspectRequest) (*BackupLocationInspectResponse, error)
	// Delete removes a backup location
	Delete(context.Context, *BackupLocationDeleteRequest) (*BackupLocationDeleteResponse, error)
	// Verify if a backup location is valid
	Validate(context.Context, *BackupLocationValidateRequest) (*BackupLocationValidateResponse, error)
	// UpdateOwnership updates ownership of existing object
	UpdateOwnership(context.Context, *BackupLocationOwnershipUpdateRequest) (*BackupLocationOwnershipUpdateResponse, error)
}

BackupLocationServer is the server API for BackupLocation service.

type BackupLocationUpdateRequest

type BackupLocationUpdateRequest struct {
	*CreateMetadata `protobuf:"bytes,1,opt,name=metadata,proto3,embedded=metadata" json:"metadata,omitempty"`
	BackupLocation  *BackupLocationInfo `protobuf:"bytes,2,opt,name=backup_location,json=backupLocation,proto3" json:"backup_location,omitempty"`
}

Define BackupLocationUpdateRequest struct

func NewPopulatedBackupLocationUpdateRequest

func NewPopulatedBackupLocationUpdateRequest(r randyApi, easy bool) *BackupLocationUpdateRequest

func (*BackupLocationUpdateRequest) Descriptor

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

func (*BackupLocationUpdateRequest) Equal

func (this *BackupLocationUpdateRequest) Equal(that interface{}) bool

func (*BackupLocationUpdateRequest) GetBackupLocation

func (m *BackupLocationUpdateRequest) GetBackupLocation() *BackupLocationInfo

func (*BackupLocationUpdateRequest) Marshal

func (m *BackupLocationUpdateRequest) Marshal() (dAtA []byte, err error)

func (*BackupLocationUpdateRequest) MarshalTo

func (m *BackupLocationUpdateRequest) MarshalTo(dAtA []byte) (int, error)

func (*BackupLocationUpdateRequest) MarshalToSizedBuffer

func (m *BackupLocationUpdateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BackupLocationUpdateRequest) ProtoMessage

func (*BackupLocationUpdateRequest) ProtoMessage()

func (*BackupLocationUpdateRequest) Reset

func (m *BackupLocationUpdateRequest) Reset()

func (*BackupLocationUpdateRequest) Size

func (m *BackupLocationUpdateRequest) Size() (n int)

func (*BackupLocationUpdateRequest) String

func (m *BackupLocationUpdateRequest) String() string

func (*BackupLocationUpdateRequest) Unmarshal

func (m *BackupLocationUpdateRequest) Unmarshal(dAtA []byte) error

func (*BackupLocationUpdateRequest) XXX_DiscardUnknown

func (m *BackupLocationUpdateRequest) XXX_DiscardUnknown()

func (*BackupLocationUpdateRequest) XXX_Marshal

func (m *BackupLocationUpdateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BackupLocationUpdateRequest) XXX_Merge

func (m *BackupLocationUpdateRequest) XXX_Merge(src proto.Message)

func (*BackupLocationUpdateRequest) XXX_Size

func (m *BackupLocationUpdateRequest) XXX_Size() int

func (*BackupLocationUpdateRequest) XXX_Unmarshal

func (m *BackupLocationUpdateRequest) XXX_Unmarshal(b []byte) error

type BackupLocationUpdateResponse

type BackupLocationUpdateResponse struct {
}

Define BackupLocationUpdateResponse struct

func NewPopulatedBackupLocationUpdateResponse

func NewPopulatedBackupLocationUpdateResponse(r randyApi, easy bool) *BackupLocationUpdateResponse

func (*BackupLocationUpdateResponse) Descriptor

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

func (*BackupLocationUpdateResponse) Equal

func (this *BackupLocationUpdateResponse) Equal(that interface{}) bool

func (*BackupLocationUpdateResponse) Marshal

func (m *BackupLocationUpdateResponse) Marshal() (dAtA []byte, err error)

func (*BackupLocationUpdateResponse) MarshalTo

func (m *BackupLocationUpdateResponse) MarshalTo(dAtA []byte) (int, error)

func (*BackupLocationUpdateResponse) MarshalToSizedBuffer

func (m *BackupLocationUpdateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BackupLocationUpdateResponse) ProtoMessage

func (*BackupLocationUpdateResponse) ProtoMessage()

func (*BackupLocationUpdateResponse) Reset

func (m *BackupLocationUpdateResponse) Reset()

func (*BackupLocationUpdateResponse) Size

func (m *BackupLocationUpdateResponse) Size() (n int)

func (*BackupLocationUpdateResponse) String

func (*BackupLocationUpdateResponse) Unmarshal

func (m *BackupLocationUpdateResponse) Unmarshal(dAtA []byte) error

func (*BackupLocationUpdateResponse) XXX_DiscardUnknown

func (m *BackupLocationUpdateResponse) XXX_DiscardUnknown()

func (*BackupLocationUpdateResponse) XXX_Marshal

func (m *BackupLocationUpdateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BackupLocationUpdateResponse) XXX_Merge

func (m *BackupLocationUpdateResponse) XXX_Merge(src proto.Message)

func (*BackupLocationUpdateResponse) XXX_Size

func (m *BackupLocationUpdateResponse) XXX_Size() int

func (*BackupLocationUpdateResponse) XXX_Unmarshal

func (m *BackupLocationUpdateResponse) XXX_Unmarshal(b []byte) error

type BackupLocationValidateRequest

type BackupLocationValidateRequest struct {
	OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
	Name  string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Uid   string `protobuf:"bytes,3,opt,name=uid,proto3" json:"uid,omitempty"`
}

Define BackupLocationValidateRequest struct

func NewPopulatedBackupLocationValidateRequest

func NewPopulatedBackupLocationValidateRequest(r randyApi, easy bool) *BackupLocationValidateRequest

func (*BackupLocationValidateRequest) Descriptor

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

func (*BackupLocationValidateRequest) Equal

func (this *BackupLocationValidateRequest) Equal(that interface{}) bool

func (*BackupLocationValidateRequest) GetName

func (*BackupLocationValidateRequest) GetOrgId

func (m *BackupLocationValidateRequest) GetOrgId() string

func (*BackupLocationValidateRequest) GetUid added in v1.2.1

func (*BackupLocationValidateRequest) Marshal

func (m *BackupLocationValidateRequest) Marshal() (dAtA []byte, err error)

func (*BackupLocationValidateRequest) MarshalTo

func (m *BackupLocationValidateRequest) MarshalTo(dAtA []byte) (int, error)

func (*BackupLocationValidateRequest) MarshalToSizedBuffer

func (m *BackupLocationValidateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BackupLocationValidateRequest) ProtoMessage

func (*BackupLocationValidateRequest) ProtoMessage()

func (*BackupLocationValidateRequest) Reset

func (m *BackupLocationValidateRequest) Reset()

func (*BackupLocationValidateRequest) Size

func (m *BackupLocationValidateRequest) Size() (n int)

func (*BackupLocationValidateRequest) String

func (*BackupLocationValidateRequest) Unmarshal

func (m *BackupLocationValidateRequest) Unmarshal(dAtA []byte) error

func (*BackupLocationValidateRequest) XXX_DiscardUnknown

func (m *BackupLocationValidateRequest) XXX_DiscardUnknown()

func (*BackupLocationValidateRequest) XXX_Marshal

func (m *BackupLocationValidateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BackupLocationValidateRequest) XXX_Merge

func (m *BackupLocationValidateRequest) XXX_Merge(src proto.Message)

func (*BackupLocationValidateRequest) XXX_Size

func (m *BackupLocationValidateRequest) XXX_Size() int

func (*BackupLocationValidateRequest) XXX_Unmarshal

func (m *BackupLocationValidateRequest) XXX_Unmarshal(b []byte) error

type BackupLocationValidateResponse

type BackupLocationValidateResponse struct {
}

Define BackupLocationValidateResponse struct

func NewPopulatedBackupLocationValidateResponse

func NewPopulatedBackupLocationValidateResponse(r randyApi, easy bool) *BackupLocationValidateResponse

func (*BackupLocationValidateResponse) Descriptor

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

func (*BackupLocationValidateResponse) Equal

func (this *BackupLocationValidateResponse) Equal(that interface{}) bool

func (*BackupLocationValidateResponse) Marshal

func (m *BackupLocationValidateResponse) Marshal() (dAtA []byte, err error)

func (*BackupLocationValidateResponse) MarshalTo

func (m *BackupLocationValidateResponse) MarshalTo(dAtA []byte) (int, error)

func (*BackupLocationValidateResponse) MarshalToSizedBuffer

func (m *BackupLocationValidateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BackupLocationValidateResponse) ProtoMessage

func (*BackupLocationValidateResponse) ProtoMessage()

func (*BackupLocationValidateResponse) Reset

func (m *BackupLocationValidateResponse) Reset()

func (*BackupLocationValidateResponse) Size

func (m *BackupLocationValidateResponse) Size() (n int)

func (*BackupLocationValidateResponse) String

func (*BackupLocationValidateResponse) Unmarshal

func (m *BackupLocationValidateResponse) Unmarshal(dAtA []byte) error

func (*BackupLocationValidateResponse) XXX_DiscardUnknown

func (m *BackupLocationValidateResponse) XXX_DiscardUnknown()

func (*BackupLocationValidateResponse) XXX_Marshal

func (m *BackupLocationValidateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BackupLocationValidateResponse) XXX_Merge

func (m *BackupLocationValidateResponse) XXX_Merge(src proto.Message)

func (*BackupLocationValidateResponse) XXX_Size

func (m *BackupLocationValidateResponse) XXX_Size() int

func (*BackupLocationValidateResponse) XXX_Unmarshal

func (m *BackupLocationValidateResponse) XXX_Unmarshal(b []byte) error

type BackupObject

type BackupObject struct {
	*Metadata   `protobuf:"bytes,1,opt,name=metadata,proto3,embedded=metadata" json:"metadata,omitempty"`
	*BackupInfo `protobuf:"bytes,2,opt,name=backup_info,json=backupInfo,proto3,embedded=backup_info" json:"backup_info,omitempty"`
}

Message for Backup object which will be stored in Datastore.

func NewPopulatedBackupObject

func NewPopulatedBackupObject(r randyApi, easy bool) *BackupObject

func (*BackupObject) Descriptor

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

func (*BackupObject) Equal

func (this *BackupObject) Equal(that interface{}) bool

func (*BackupObject) Marshal

func (m *BackupObject) Marshal() (dAtA []byte, err error)

func (*BackupObject) MarshalTo

func (m *BackupObject) MarshalTo(dAtA []byte) (int, error)

func (*BackupObject) MarshalToSizedBuffer

func (m *BackupObject) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BackupObject) ProtoMessage

func (*BackupObject) ProtoMessage()

func (*BackupObject) Reset

func (m *BackupObject) Reset()

func (*BackupObject) Size

func (m *BackupObject) Size() (n int)

func (*BackupObject) String

func (m *BackupObject) String() string

func (*BackupObject) Unmarshal

func (m *BackupObject) Unmarshal(dAtA []byte) error

func (*BackupObject) XXX_DiscardUnknown

func (m *BackupObject) XXX_DiscardUnknown()

func (*BackupObject) XXX_Marshal

func (m *BackupObject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BackupObject) XXX_Merge

func (m *BackupObject) XXX_Merge(src proto.Message)

func (*BackupObject) XXX_Size

func (m *BackupObject) XXX_Size() int

func (*BackupObject) XXX_Unmarshal

func (m *BackupObject) XXX_Unmarshal(b []byte) error

type BackupScheduleClient

type BackupScheduleClient interface {
	// Create creates new backup schedule
	Create(ctx context.Context, in *BackupScheduleCreateRequest, opts ...grpc.CallOption) (*BackupScheduleCreateResponse, error)
	// Update updates a backup schedule
	Update(ctx context.Context, in *BackupScheduleUpdateRequest, opts ...grpc.CallOption) (*BackupScheduleUpdateResponse, error)
	// Enumerate returns a list of backup schedule
	Enumerate(ctx context.Context, in *BackupScheduleEnumerateRequest, opts ...grpc.CallOption) (*BackupScheduleEnumerateResponse, error)
	// Inspect returns detail information about a specified backup schedule
	Inspect(ctx context.Context, in *BackupScheduleInspectRequest, opts ...grpc.CallOption) (*BackupScheduleInspectResponse, error)
	// Delete removes a backup schedule
	Delete(ctx context.Context, in *BackupScheduleDeleteRequest, opts ...grpc.CallOption) (*BackupScheduleDeleteResponse, error)
}

BackupScheduleClient is the client API for BackupSchedule service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewBackupScheduleClient

func NewBackupScheduleClient(cc *grpc.ClientConn) BackupScheduleClient

type BackupScheduleCreateRequest

type BackupScheduleCreateRequest struct {
	*CreateMetadata `protobuf:"bytes,1,opt,name=metadata,proto3,embedded=metadata" json:"metadata,omitempty"`
	// schedule_policy is deprecated, not to be used
	SchedulePolicy string                               `protobuf:"bytes,2,opt,name=schedule_policy,json=schedulePolicy,proto3" json:"schedule_policy,omitempty"`
	ReclaimPolicy  BackupScheduleInfo_ReclaimPolicyType `` /* 143-byte string literal not displayed */
	// Name of BackupLocation, is deprecated. Not to be used
	BackupLocation string `protobuf:"bytes,4,opt,name=backup_location,json=backupLocation,proto3" json:"backup_location,omitempty"`
	// Name of Cluster
	Cluster string `protobuf:"bytes,5,opt,name=cluster,proto3" json:"cluster,omitempty"`
	// Namespaces to backup. Only an admin can provide multiple namespaces
	Namespaces []string `protobuf:"bytes,6,rep,name=namespaces,proto3" json:"namespaces,omitempty"`
	// Label selectors to choose resources
	LabelSelectors map[string]string `` /* 191-byte string literal not displayed */
	// pre_exec_rule and post_exec_rule are deprecated. Not to be used.
	PreExecRule  string `protobuf:"bytes,8,opt,name=pre_exec_rule,json=preExecRule,proto3" json:"pre_exec_rule,omitempty"`
	PostExecRule string `protobuf:"bytes,9,opt,name=post_exec_rule,json=postExecRule,proto3" json:"post_exec_rule,omitempty"`
	// List of resources to backup (optional)
	IncludeResources []*ResourceInfo `protobuf:"bytes,10,rep,name=include_resources,json=includeResources,proto3" json:"include_resources,omitempty"`
	// Snapshot class name to use for backup schedule (optional)
	CsiSnapshotClassName string `` /* 126-byte string literal not displayed */
	// List of resource types to backup (optional)
	ResourceTypes     []string   `protobuf:"bytes,12,rep,name=resource_types,json=resourceTypes,proto3" json:"resource_types,omitempty"`
	SchedulePolicyRef *ObjectRef `protobuf:"bytes,13,opt,name=schedule_policy_ref,json=schedulePolicyRef,proto3" json:"schedule_policy_ref,omitempty"`
	BackupLocationRef *ObjectRef `protobuf:"bytes,14,opt,name=backup_location_ref,json=backupLocationRef,proto3" json:"backup_location_ref,omitempty"`
	PreExecRuleRef    *ObjectRef `protobuf:"bytes,15,opt,name=pre_exec_rule_ref,json=preExecRuleRef,proto3" json:"pre_exec_rule_ref,omitempty"`
	PostExecRuleRef   *ObjectRef `protobuf:"bytes,16,opt,name=post_exec_rule_ref,json=postExecRuleRef,proto3" json:"post_exec_rule_ref,omitempty"`
}

Define BackupScheduleCreateRequest struct

func NewPopulatedBackupScheduleCreateRequest

func NewPopulatedBackupScheduleCreateRequest(r randyApi, easy bool) *BackupScheduleCreateRequest

func (*BackupScheduleCreateRequest) Descriptor

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

func (*BackupScheduleCreateRequest) Equal

func (this *BackupScheduleCreateRequest) Equal(that interface{}) bool

func (*BackupScheduleCreateRequest) GetBackupLocation

func (m *BackupScheduleCreateRequest) GetBackupLocation() string

func (*BackupScheduleCreateRequest) GetBackupLocationRef added in v1.2.1

func (m *BackupScheduleCreateRequest) GetBackupLocationRef() *ObjectRef

func (*BackupScheduleCreateRequest) GetCluster

func (m *BackupScheduleCreateRequest) GetCluster() string

func (*BackupScheduleCreateRequest) GetCsiSnapshotClassName added in v1.2.1

func (m *BackupScheduleCreateRequest) GetCsiSnapshotClassName() string

func (*BackupScheduleCreateRequest) GetIncludeResources

func (m *BackupScheduleCreateRequest) GetIncludeResources() []*ResourceInfo

func (*BackupScheduleCreateRequest) GetLabelSelectors

func (m *BackupScheduleCreateRequest) GetLabelSelectors() map[string]string

func (*BackupScheduleCreateRequest) GetNamespaces

func (m *BackupScheduleCreateRequest) GetNamespaces() []string

func (*BackupScheduleCreateRequest) GetPostExecRule

func (m *BackupScheduleCreateRequest) GetPostExecRule() string

func (*BackupScheduleCreateRequest) GetPostExecRuleRef added in v1.2.1

func (m *BackupScheduleCreateRequest) GetPostExecRuleRef() *ObjectRef

func (*BackupScheduleCreateRequest) GetPreExecRule

func (m *BackupScheduleCreateRequest) GetPreExecRule() string

func (*BackupScheduleCreateRequest) GetPreExecRuleRef added in v1.2.1

func (m *BackupScheduleCreateRequest) GetPreExecRuleRef() *ObjectRef

func (*BackupScheduleCreateRequest) GetReclaimPolicy

func (*BackupScheduleCreateRequest) GetResourceTypes added in v1.2.1

func (m *BackupScheduleCreateRequest) GetResourceTypes() []string

func (*BackupScheduleCreateRequest) GetSchedulePolicy

func (m *BackupScheduleCreateRequest) GetSchedulePolicy() string

func (*BackupScheduleCreateRequest) GetSchedulePolicyRef added in v1.2.1

func (m *BackupScheduleCreateRequest) GetSchedulePolicyRef() *ObjectRef

func (*BackupScheduleCreateRequest) Marshal

func (m *BackupScheduleCreateRequest) Marshal() (dAtA []byte, err error)

func (*BackupScheduleCreateRequest) MarshalTo

func (m *BackupScheduleCreateRequest) MarshalTo(dAtA []byte) (int, error)

func (*BackupScheduleCreateRequest) MarshalToSizedBuffer

func (m *BackupScheduleCreateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BackupScheduleCreateRequest) ProtoMessage

func (*BackupScheduleCreateRequest) ProtoMessage()

func (*BackupScheduleCreateRequest) Reset

func (m *BackupScheduleCreateRequest) Reset()

func (*BackupScheduleCreateRequest) Size

func (m *BackupScheduleCreateRequest) Size() (n int)

func (*BackupScheduleCreateRequest) String

func (m *BackupScheduleCreateRequest) String() string

func (*BackupScheduleCreateRequest) Unmarshal

func (m *BackupScheduleCreateRequest) Unmarshal(dAtA []byte) error

func (*BackupScheduleCreateRequest) XXX_DiscardUnknown

func (m *BackupScheduleCreateRequest) XXX_DiscardUnknown()

func (*BackupScheduleCreateRequest) XXX_Marshal

func (m *BackupScheduleCreateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BackupScheduleCreateRequest) XXX_Merge

func (m *BackupScheduleCreateRequest) XXX_Merge(src proto.Message)

func (*BackupScheduleCreateRequest) XXX_Size

func (m *BackupScheduleCreateRequest) XXX_Size() int

func (*BackupScheduleCreateRequest) XXX_Unmarshal

func (m *BackupScheduleCreateRequest) XXX_Unmarshal(b []byte) error

type BackupScheduleCreateResponse

type BackupScheduleCreateResponse struct {
}

Define BackupScheduleCreateResponse struct

func NewPopulatedBackupScheduleCreateResponse

func NewPopulatedBackupScheduleCreateResponse(r randyApi, easy bool) *BackupScheduleCreateResponse

func (*BackupScheduleCreateResponse) Descriptor

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

func (*BackupScheduleCreateResponse) Equal

func (this *BackupScheduleCreateResponse) Equal(that interface{}) bool

func (*BackupScheduleCreateResponse) Marshal

func (m *BackupScheduleCreateResponse) Marshal() (dAtA []byte, err error)

func (*BackupScheduleCreateResponse) MarshalTo

func (m *BackupScheduleCreateResponse) MarshalTo(dAtA []byte) (int, error)

func (*BackupScheduleCreateResponse) MarshalToSizedBuffer

func (m *BackupScheduleCreateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BackupScheduleCreateResponse) ProtoMessage

func (*BackupScheduleCreateResponse) ProtoMessage()

func (*BackupScheduleCreateResponse) Reset

func (m *BackupScheduleCreateResponse) Reset()

func (*BackupScheduleCreateResponse) Size

func (m *BackupScheduleCreateResponse) Size() (n int)

func (*BackupScheduleCreateResponse) String

func (*BackupScheduleCreateResponse) Unmarshal

func (m *BackupScheduleCreateResponse) Unmarshal(dAtA []byte) error

func (*BackupScheduleCreateResponse) XXX_DiscardUnknown

func (m *BackupScheduleCreateResponse) XXX_DiscardUnknown()

func (*BackupScheduleCreateResponse) XXX_Marshal

func (m *BackupScheduleCreateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BackupScheduleCreateResponse) XXX_Merge

func (m *BackupScheduleCreateResponse) XXX_Merge(src proto.Message)

func (*BackupScheduleCreateResponse) XXX_Size

func (m *BackupScheduleCreateResponse) XXX_Size() int

func (*BackupScheduleCreateResponse) XXX_Unmarshal

func (m *BackupScheduleCreateResponse) XXX_Unmarshal(b []byte) error

type BackupScheduleDeleteRequest

type BackupScheduleDeleteRequest struct {
	OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
	Name  string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// delete_backups indicates whether the cloud backup files need to
	// be deleted or retained.
	DeleteBackups bool   `protobuf:"varint,3,opt,name=delete_backups,json=deleteBackups,proto3" json:"delete_backups,omitempty"`
	Uid           string `protobuf:"bytes,4,opt,name=uid,proto3" json:"uid,omitempty"`
}

Define BackupScheduleDeleteRequest struct

func NewPopulatedBackupScheduleDeleteRequest

func NewPopulatedBackupScheduleDeleteRequest(r randyApi, easy bool) *BackupScheduleDeleteRequest

func (*BackupScheduleDeleteRequest) Descriptor

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

func (*BackupScheduleDeleteRequest) Equal

func (this *BackupScheduleDeleteRequest) Equal(that interface{}) bool

func (*BackupScheduleDeleteRequest) GetDeleteBackups

func (m *BackupScheduleDeleteRequest) GetDeleteBackups() bool

func (*BackupScheduleDeleteRequest) GetName

func (m *BackupScheduleDeleteRequest) GetName() string

func (*BackupScheduleDeleteRequest) GetOrgId

func (m *BackupScheduleDeleteRequest) GetOrgId() string

func (*BackupScheduleDeleteRequest) GetUid added in v1.2.1

func (m *BackupScheduleDeleteRequest) GetUid() string

func (*BackupScheduleDeleteRequest) Marshal

func (m *BackupScheduleDeleteRequest) Marshal() (dAtA []byte, err error)

func (*BackupScheduleDeleteRequest) MarshalTo

func (m *BackupScheduleDeleteRequest) MarshalTo(dAtA []byte) (int, error)

func (*BackupScheduleDeleteRequest) MarshalToSizedBuffer

func (m *BackupScheduleDeleteRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BackupScheduleDeleteRequest) ProtoMessage

func (*BackupScheduleDeleteRequest) ProtoMessage()

func (*BackupScheduleDeleteRequest) Reset

func (m *BackupScheduleDeleteRequest) Reset()

func (*BackupScheduleDeleteRequest) Size

func (m *BackupScheduleDeleteRequest) Size() (n int)

func (*BackupScheduleDeleteRequest) String

func (m *BackupScheduleDeleteRequest) String() string

func (*BackupScheduleDeleteRequest) Unmarshal

func (m *BackupScheduleDeleteRequest) Unmarshal(dAtA []byte) error

func (*BackupScheduleDeleteRequest) XXX_DiscardUnknown

func (m *BackupScheduleDeleteRequest) XXX_DiscardUnknown()

func (*BackupScheduleDeleteRequest) XXX_Marshal

func (m *BackupScheduleDeleteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BackupScheduleDeleteRequest) XXX_Merge

func (m *BackupScheduleDeleteRequest) XXX_Merge(src proto.Message)

func (*BackupScheduleDeleteRequest) XXX_Size

func (m *BackupScheduleDeleteRequest) XXX_Size() int

func (*BackupScheduleDeleteRequest) XXX_Unmarshal

func (m *BackupScheduleDeleteRequest) XXX_Unmarshal(b []byte) error

type BackupScheduleDeleteResponse

type BackupScheduleDeleteResponse struct {
}

Define BackupScheduleDeleteResponse struct

func NewPopulatedBackupScheduleDeleteResponse

func NewPopulatedBackupScheduleDeleteResponse(r randyApi, easy bool) *BackupScheduleDeleteResponse

func (*BackupScheduleDeleteResponse) Descriptor

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

func (*BackupScheduleDeleteResponse) Equal

func (this *BackupScheduleDeleteResponse) Equal(that interface{}) bool

func (*BackupScheduleDeleteResponse) Marshal

func (m *BackupScheduleDeleteResponse) Marshal() (dAtA []byte, err error)

func (*BackupScheduleDeleteResponse) MarshalTo

func (m *BackupScheduleDeleteResponse) MarshalTo(dAtA []byte) (int, error)

func (*BackupScheduleDeleteResponse) MarshalToSizedBuffer

func (m *BackupScheduleDeleteResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BackupScheduleDeleteResponse) ProtoMessage

func (*BackupScheduleDeleteResponse) ProtoMessage()

func (*BackupScheduleDeleteResponse) Reset

func (m *BackupScheduleDeleteResponse) Reset()

func (*BackupScheduleDeleteResponse) Size

func (m *BackupScheduleDeleteResponse) Size() (n int)

func (*BackupScheduleDeleteResponse) String

func (*BackupScheduleDeleteResponse) Unmarshal

func (m *BackupScheduleDeleteResponse) Unmarshal(dAtA []byte) error

func (*BackupScheduleDeleteResponse) XXX_DiscardUnknown

func (m *BackupScheduleDeleteResponse) XXX_DiscardUnknown()

func (*BackupScheduleDeleteResponse) XXX_Marshal

func (m *BackupScheduleDeleteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BackupScheduleDeleteResponse) XXX_Merge

func (m *BackupScheduleDeleteResponse) XXX_Merge(src proto.Message)

func (*BackupScheduleDeleteResponse) XXX_Size

func (m *BackupScheduleDeleteResponse) XXX_Size() int

func (*BackupScheduleDeleteResponse) XXX_Unmarshal

func (m *BackupScheduleDeleteResponse) XXX_Unmarshal(b []byte) error

type BackupScheduleEnumerateRequest

type BackupScheduleEnumerateRequest struct {
	OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
	// label selectors for the object for filtering
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// Backuplocation name.
	// Enumerate will return list of backupschedule that
	// uses this backuplocation
	// backup_location is deprecated, not to be used.
	BackupLocation    string     `protobuf:"bytes,3,opt,name=backup_location,json=backupLocation,proto3" json:"backup_location,omitempty"`
	BackupLocationRef *ObjectRef `protobuf:"bytes,4,opt,name=backup_location_ref,json=backupLocationRef,proto3" json:"backup_location_ref,omitempty"`
}

Define BackupScheduleEnumerateRequest struct

func NewPopulatedBackupScheduleEnumerateRequest

func NewPopulatedBackupScheduleEnumerateRequest(r randyApi, easy bool) *BackupScheduleEnumerateRequest

func (*BackupScheduleEnumerateRequest) Descriptor

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

func (*BackupScheduleEnumerateRequest) Equal

func (this *BackupScheduleEnumerateRequest) Equal(that interface{}) bool

func (*BackupScheduleEnumerateRequest) GetBackupLocation added in v1.2.1

func (m *BackupScheduleEnumerateRequest) GetBackupLocation() string

func (*BackupScheduleEnumerateRequest) GetBackupLocationRef added in v1.2.1

func (m *BackupScheduleEnumerateRequest) GetBackupLocationRef() *ObjectRef

func (*BackupScheduleEnumerateRequest) GetLabels

func (m *BackupScheduleEnumerateRequest) GetLabels() map[string]string

func (*BackupScheduleEnumerateRequest) GetOrgId

func (m *BackupScheduleEnumerateRequest) GetOrgId() string

func (*BackupScheduleEnumerateRequest) Marshal

func (m *BackupScheduleEnumerateRequest) Marshal() (dAtA []byte, err error)

func (*BackupScheduleEnumerateRequest) MarshalTo

func (m *BackupScheduleEnumerateRequest) MarshalTo(dAtA []byte) (int, error)

func (*BackupScheduleEnumerateRequest) MarshalToSizedBuffer

func (m *BackupScheduleEnumerateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BackupScheduleEnumerateRequest) ProtoMessage

func (*BackupScheduleEnumerateRequest) ProtoMessage()

func (*BackupScheduleEnumerateRequest) Reset

func (m *BackupScheduleEnumerateRequest) Reset()

func (*BackupScheduleEnumerateRequest) Size

func (m *BackupScheduleEnumerateRequest) Size() (n int)

func (*BackupScheduleEnumerateRequest) String

func (*BackupScheduleEnumerateRequest) Unmarshal

func (m *BackupScheduleEnumerateRequest) Unmarshal(dAtA []byte) error

func (*BackupScheduleEnumerateRequest) XXX_DiscardUnknown

func (m *BackupScheduleEnumerateRequest) XXX_DiscardUnknown()

func (*BackupScheduleEnumerateRequest) XXX_Marshal

func (m *BackupScheduleEnumerateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BackupScheduleEnumerateRequest) XXX_Merge

func (m *BackupScheduleEnumerateRequest) XXX_Merge(src proto.Message)

func (*BackupScheduleEnumerateRequest) XXX_Size

func (m *BackupScheduleEnumerateRequest) XXX_Size() int

func (*BackupScheduleEnumerateRequest) XXX_Unmarshal

func (m *BackupScheduleEnumerateRequest) XXX_Unmarshal(b []byte) error

type BackupScheduleEnumerateResponse

type BackupScheduleEnumerateResponse struct {
	BackupSchedules []*BackupScheduleObject `protobuf:"bytes,1,rep,name=backup_schedules,json=backupSchedules,proto3" json:"backup_schedules,omitempty"`
}

Define BackupScheduleEnumerateResponse struct

func NewPopulatedBackupScheduleEnumerateResponse

func NewPopulatedBackupScheduleEnumerateResponse(r randyApi, easy bool) *BackupScheduleEnumerateResponse

func (*BackupScheduleEnumerateResponse) Descriptor

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

func (*BackupScheduleEnumerateResponse) Equal

func (this *BackupScheduleEnumerateResponse) Equal(that interface{}) bool

func (*BackupScheduleEnumerateResponse) GetBackupSchedules

func (m *BackupScheduleEnumerateResponse) GetBackupSchedules() []*BackupScheduleObject

func (*BackupScheduleEnumerateResponse) Marshal

func (m *BackupScheduleEnumerateResponse) Marshal() (dAtA []byte, err error)

func (*BackupScheduleEnumerateResponse) MarshalTo

func (m *BackupScheduleEnumerateResponse) MarshalTo(dAtA []byte) (int, error)

func (*BackupScheduleEnumerateResponse) MarshalToSizedBuffer

func (m *BackupScheduleEnumerateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BackupScheduleEnumerateResponse) ProtoMessage

func (*BackupScheduleEnumerateResponse) ProtoMessage()

func (*BackupScheduleEnumerateResponse) Reset

func (*BackupScheduleEnumerateResponse) Size

func (m *BackupScheduleEnumerateResponse) Size() (n int)

func (*BackupScheduleEnumerateResponse) String

func (*BackupScheduleEnumerateResponse) Unmarshal

func (m *BackupScheduleEnumerateResponse) Unmarshal(dAtA []byte) error

func (*BackupScheduleEnumerateResponse) XXX_DiscardUnknown

func (m *BackupScheduleEnumerateResponse) XXX_DiscardUnknown()

func (*BackupScheduleEnumerateResponse) XXX_Marshal

func (m *BackupScheduleEnumerateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BackupScheduleEnumerateResponse) XXX_Merge

func (m *BackupScheduleEnumerateResponse) XXX_Merge(src proto.Message)

func (*BackupScheduleEnumerateResponse) XXX_Size

func (m *BackupScheduleEnumerateResponse) XXX_Size() int

func (*BackupScheduleEnumerateResponse) XXX_Unmarshal

func (m *BackupScheduleEnumerateResponse) XXX_Unmarshal(b []byte) error

type BackupScheduleInfo

type BackupScheduleInfo struct {
	// schedule_policy is deprecated, not to be used.
	SchedulePolicy string                                        `protobuf:"bytes,1,opt,name=schedule_policy,json=schedulePolicy,proto3" json:"schedule_policy,omitempty"`
	Suspend        bool                                          `protobuf:"varint,2,opt,name=suspend,proto3" json:"suspend,omitempty"`
	ReclaimPolicy  BackupScheduleInfo_ReclaimPolicyType          `` /* 143-byte string literal not displayed */
	BackupStatus   map[string]*BackupScheduleInfo_StatusInfoList `` /* 185-byte string literal not displayed */
	// Name of BackupLocation, is deprecated. Not to be used.
	BackupLocation string `protobuf:"bytes,5,opt,name=backup_location,json=backupLocation,proto3" json:"backup_location,omitempty"`
	// Name of Cluster
	Cluster string `protobuf:"bytes,6,opt,name=cluster,proto3" json:"cluster,omitempty"`
	// Namespaces to backup. Only an admin can provide multiple namespaces
	Namespaces []string `protobuf:"bytes,7,rep,name=namespaces,proto3" json:"namespaces,omitempty"`
	// Label selectors to choose resources
	LabelSelectors map[string]string `` /* 191-byte string literal not displayed */
	// pre_exec_rule and post_exec_rule is deprecated. Not to be used.
	PreExecRule          string                          `protobuf:"bytes,9,opt,name=pre_exec_rule,json=preExecRule,proto3" json:"pre_exec_rule,omitempty"`
	PostExecRule         string                          `protobuf:"bytes,10,opt,name=post_exec_rule,json=postExecRule,proto3" json:"post_exec_rule,omitempty"`
	DeleteBackups        bool                            `protobuf:"varint,11,opt,name=delete_backups,json=deleteBackups,proto3" json:"delete_backups,omitempty"`
	Status               *BackupScheduleInfo_StatusInfo  `protobuf:"bytes,12,opt,name=status,proto3" json:"status,omitempty"`
	SuspendedBy          *BackupScheduleInfo_SuspendedBy `protobuf:"bytes,13,opt,name=suspended_by,json=suspendedBy,proto3" json:"suspended_by,omitempty"`
	IncludeResources     []*ResourceInfo                 `protobuf:"bytes,14,rep,name=include_resources,json=includeResources,proto3" json:"include_resources,omitempty"`
	StorkVersion         string                          `protobuf:"bytes,15,opt,name=stork_version,json=storkVersion,proto3" json:"stork_version,omitempty"`
	CsiSnapshotClassName string                          `` /* 126-byte string literal not displayed */
	ResourceTypes        []string                        `protobuf:"bytes,17,rep,name=resource_types,json=resourceTypes,proto3" json:"resource_types,omitempty"`
	SchedulePolicyRef    *ObjectRef                      `protobuf:"bytes,18,opt,name=schedule_policy_ref,json=schedulePolicyRef,proto3" json:"schedule_policy_ref,omitempty"`
	BackupLocationRef    *ObjectRef                      `protobuf:"bytes,19,opt,name=backup_location_ref,json=backupLocationRef,proto3" json:"backup_location_ref,omitempty"`
	PreExecRuleRef       *ObjectRef                      `protobuf:"bytes,20,opt,name=pre_exec_rule_ref,json=preExecRuleRef,proto3" json:"pre_exec_rule_ref,omitempty"`
	PostExecRuleRef      *ObjectRef                      `protobuf:"bytes,21,opt,name=post_exec_rule_ref,json=postExecRuleRef,proto3" json:"post_exec_rule_ref,omitempty"`
}

func NewPopulatedBackupScheduleInfo

func NewPopulatedBackupScheduleInfo(r randyApi, easy bool) *BackupScheduleInfo

func (*BackupScheduleInfo) Descriptor

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

func (*BackupScheduleInfo) Equal

func (this *BackupScheduleInfo) Equal(that interface{}) bool

func (*BackupScheduleInfo) GetBackupLocation

func (m *BackupScheduleInfo) GetBackupLocation() string

func (*BackupScheduleInfo) GetBackupLocationRef added in v1.2.1

func (m *BackupScheduleInfo) GetBackupLocationRef() *ObjectRef

func (*BackupScheduleInfo) GetBackupStatus

func (*BackupScheduleInfo) GetCluster

func (m *BackupScheduleInfo) GetCluster() string

func (*BackupScheduleInfo) GetCsiSnapshotClassName added in v1.2.1

func (m *BackupScheduleInfo) GetCsiSnapshotClassName() string

func (*BackupScheduleInfo) GetDeleteBackups

func (m *BackupScheduleInfo) GetDeleteBackups() bool

func (*BackupScheduleInfo) GetIncludeResources

func (m *BackupScheduleInfo) GetIncludeResources() []*ResourceInfo

func (*BackupScheduleInfo) GetLabelSelectors

func (m *BackupScheduleInfo) GetLabelSelectors() map[string]string

func (*BackupScheduleInfo) GetNamespaces

func (m *BackupScheduleInfo) GetNamespaces() []string

func (*BackupScheduleInfo) GetPostExecRule

func (m *BackupScheduleInfo) GetPostExecRule() string

func (*BackupScheduleInfo) GetPostExecRuleRef added in v1.2.1

func (m *BackupScheduleInfo) GetPostExecRuleRef() *ObjectRef

func (*BackupScheduleInfo) GetPreExecRule

func (m *BackupScheduleInfo) GetPreExecRule() string

func (*BackupScheduleInfo) GetPreExecRuleRef added in v1.2.1

func (m *BackupScheduleInfo) GetPreExecRuleRef() *ObjectRef

func (*BackupScheduleInfo) GetReclaimPolicy

func (*BackupScheduleInfo) GetResourceTypes added in v1.2.1

func (m *BackupScheduleInfo) GetResourceTypes() []string

func (*BackupScheduleInfo) GetSchedulePolicy

func (m *BackupScheduleInfo) GetSchedulePolicy() string

func (*BackupScheduleInfo) GetSchedulePolicyRef added in v1.2.1

func (m *BackupScheduleInfo) GetSchedulePolicyRef() *ObjectRef

func (*BackupScheduleInfo) GetStatus

func (*BackupScheduleInfo) GetStorkVersion added in v1.2.1

func (m *BackupScheduleInfo) GetStorkVersion() string

func (*BackupScheduleInfo) GetSuspend

func (m *BackupScheduleInfo) GetSuspend() bool

func (*BackupScheduleInfo) GetSuspendedBy

func (*BackupScheduleInfo) Marshal

func (m *BackupScheduleInfo) Marshal() (dAtA []byte, err error)

func (*BackupScheduleInfo) MarshalTo

func (m *BackupScheduleInfo) MarshalTo(dAtA []byte) (int, error)

func (*BackupScheduleInfo) MarshalToSizedBuffer

func (m *BackupScheduleInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BackupScheduleInfo) ProtoMessage

func (*BackupScheduleInfo) ProtoMessage()

func (*BackupScheduleInfo) Reset

func (m *BackupScheduleInfo) Reset()

func (*BackupScheduleInfo) Size

func (m *BackupScheduleInfo) Size() (n int)

func (*BackupScheduleInfo) String

func (m *BackupScheduleInfo) String() string

func (*BackupScheduleInfo) Unmarshal

func (m *BackupScheduleInfo) Unmarshal(dAtA []byte) error

func (*BackupScheduleInfo) XXX_DiscardUnknown

func (m *BackupScheduleInfo) XXX_DiscardUnknown()

func (*BackupScheduleInfo) XXX_Marshal

func (m *BackupScheduleInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BackupScheduleInfo) XXX_Merge

func (m *BackupScheduleInfo) XXX_Merge(src proto.Message)

func (*BackupScheduleInfo) XXX_Size

func (m *BackupScheduleInfo) XXX_Size() int

func (*BackupScheduleInfo) XXX_Unmarshal

func (m *BackupScheduleInfo) XXX_Unmarshal(b []byte) error

type BackupScheduleInfo_ReclaimPolicyType

type BackupScheduleInfo_ReclaimPolicyType int32
const (
	BackupScheduleInfo_Invalid BackupScheduleInfo_ReclaimPolicyType = 0
	BackupScheduleInfo_Delete  BackupScheduleInfo_ReclaimPolicyType = 1
	BackupScheduleInfo_Retain  BackupScheduleInfo_ReclaimPolicyType = 2
)

func (BackupScheduleInfo_ReclaimPolicyType) EnumDescriptor

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

func (BackupScheduleInfo_ReclaimPolicyType) String

type BackupScheduleInfo_StatusInfo

type BackupScheduleInfo_StatusInfo struct {
	// backup name
	BackupName string                               `protobuf:"bytes,1,opt,name=backup_name,json=backupName,proto3" json:"backup_name,omitempty"`
	CreateTime *types.Timestamp                     `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	FinishTime *types.Timestamp                     `protobuf:"bytes,3,opt,name=finish_time,json=finishTime,proto3" json:"finish_time,omitempty"`
	Status     BackupScheduleInfo_StatusInfo_Status `protobuf:"varint,4,opt,name=status,proto3,enum=BackupScheduleInfo_StatusInfo_Status" json:"status,omitempty"`
	Reason     string                               `protobuf:"bytes,5,opt,name=Reason,proto3" json:"Reason,omitempty"`
}

func NewPopulatedBackupScheduleInfo_StatusInfo

func NewPopulatedBackupScheduleInfo_StatusInfo(r randyApi, easy bool) *BackupScheduleInfo_StatusInfo

func (*BackupScheduleInfo_StatusInfo) Descriptor

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

func (*BackupScheduleInfo_StatusInfo) Equal

func (this *BackupScheduleInfo_StatusInfo) Equal(that interface{}) bool

func (*BackupScheduleInfo_StatusInfo) GetBackupName

func (m *BackupScheduleInfo_StatusInfo) GetBackupName() string

func (*BackupScheduleInfo_StatusInfo) GetCreateTime

func (m *BackupScheduleInfo_StatusInfo) GetCreateTime() *types.Timestamp

func (*BackupScheduleInfo_StatusInfo) GetFinishTime

func (m *BackupScheduleInfo_StatusInfo) GetFinishTime() *types.Timestamp

func (*BackupScheduleInfo_StatusInfo) GetReason

func (m *BackupScheduleInfo_StatusInfo) GetReason() string

func (*BackupScheduleInfo_StatusInfo) GetStatus

func (*BackupScheduleInfo_StatusInfo) Marshal

func (m *BackupScheduleInfo_StatusInfo) Marshal() (dAtA []byte, err error)

func (*BackupScheduleInfo_StatusInfo) MarshalTo

func (m *BackupScheduleInfo_StatusInfo) MarshalTo(dAtA []byte) (int, error)

func (*BackupScheduleInfo_StatusInfo) MarshalToSizedBuffer

func (m *BackupScheduleInfo_StatusInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BackupScheduleInfo_StatusInfo) ProtoMessage

func (*BackupScheduleInfo_StatusInfo) ProtoMessage()

func (*BackupScheduleInfo_StatusInfo) Reset

func (m *BackupScheduleInfo_StatusInfo) Reset()

func (*BackupScheduleInfo_StatusInfo) Size

func (m *BackupScheduleInfo_StatusInfo) Size() (n int)

func (*BackupScheduleInfo_StatusInfo) String

func (*BackupScheduleInfo_StatusInfo) Unmarshal

func (m *BackupScheduleInfo_StatusInfo) Unmarshal(dAtA []byte) error

func (*BackupScheduleInfo_StatusInfo) XXX_DiscardUnknown

func (m *BackupScheduleInfo_StatusInfo) XXX_DiscardUnknown()

func (*BackupScheduleInfo_StatusInfo) XXX_Marshal

func (m *BackupScheduleInfo_StatusInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BackupScheduleInfo_StatusInfo) XXX_Merge

func (m *BackupScheduleInfo_StatusInfo) XXX_Merge(src proto.Message)

func (*BackupScheduleInfo_StatusInfo) XXX_Size

func (m *BackupScheduleInfo_StatusInfo) XXX_Size() int

func (*BackupScheduleInfo_StatusInfo) XXX_Unmarshal

func (m *BackupScheduleInfo_StatusInfo) XXX_Unmarshal(b []byte) error

type BackupScheduleInfo_StatusInfoList

type BackupScheduleInfo_StatusInfoList struct {
	Status []*BackupScheduleInfo_StatusInfo `protobuf:"bytes,1,rep,name=status,proto3" json:"status,omitempty"`
}

func NewPopulatedBackupScheduleInfo_StatusInfoList

func NewPopulatedBackupScheduleInfo_StatusInfoList(r randyApi, easy bool) *BackupScheduleInfo_StatusInfoList

func (*BackupScheduleInfo_StatusInfoList) Descriptor

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

func (*BackupScheduleInfo_StatusInfoList) Equal

func (this *BackupScheduleInfo_StatusInfoList) Equal(that interface{}) bool

func (*BackupScheduleInfo_StatusInfoList) GetStatus

func (*BackupScheduleInfo_StatusInfoList) Marshal

func (m *BackupScheduleInfo_StatusInfoList) Marshal() (dAtA []byte, err error)

func (*BackupScheduleInfo_StatusInfoList) MarshalTo

func (m *BackupScheduleInfo_StatusInfoList) MarshalTo(dAtA []byte) (int, error)

func (*BackupScheduleInfo_StatusInfoList) MarshalToSizedBuffer

func (m *BackupScheduleInfo_StatusInfoList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BackupScheduleInfo_StatusInfoList) ProtoMessage

func (*BackupScheduleInfo_StatusInfoList) ProtoMessage()

func (*BackupScheduleInfo_StatusInfoList) Reset

func (*BackupScheduleInfo_StatusInfoList) Size

func (m *BackupScheduleInfo_StatusInfoList) Size() (n int)

func (*BackupScheduleInfo_StatusInfoList) String

func (*BackupScheduleInfo_StatusInfoList) Unmarshal

func (m *BackupScheduleInfo_StatusInfoList) Unmarshal(dAtA []byte) error

func (*BackupScheduleInfo_StatusInfoList) XXX_DiscardUnknown

func (m *BackupScheduleInfo_StatusInfoList) XXX_DiscardUnknown()

func (*BackupScheduleInfo_StatusInfoList) XXX_Marshal

func (m *BackupScheduleInfo_StatusInfoList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BackupScheduleInfo_StatusInfoList) XXX_Merge

func (*BackupScheduleInfo_StatusInfoList) XXX_Size

func (m *BackupScheduleInfo_StatusInfoList) XXX_Size() int

func (*BackupScheduleInfo_StatusInfoList) XXX_Unmarshal

func (m *BackupScheduleInfo_StatusInfoList) XXX_Unmarshal(b []byte) error

type BackupScheduleInfo_StatusInfo_Status

type BackupScheduleInfo_StatusInfo_Status int32
const (
	BackupScheduleInfo_StatusInfo_Invalid        BackupScheduleInfo_StatusInfo_Status = 0
	BackupScheduleInfo_StatusInfo_Pending        BackupScheduleInfo_StatusInfo_Status = 1
	BackupScheduleInfo_StatusInfo_InProgress     BackupScheduleInfo_StatusInfo_Status = 2
	BackupScheduleInfo_StatusInfo_Aborted        BackupScheduleInfo_StatusInfo_Status = 3
	BackupScheduleInfo_StatusInfo_Failed         BackupScheduleInfo_StatusInfo_Status = 4
	BackupScheduleInfo_StatusInfo_Deleting       BackupScheduleInfo_StatusInfo_Status = 5
	BackupScheduleInfo_StatusInfo_Success        BackupScheduleInfo_StatusInfo_Status = 6
	BackupScheduleInfo_StatusInfo_Captured       BackupScheduleInfo_StatusInfo_Status = 7
	BackupScheduleInfo_StatusInfo_PartialSuccess BackupScheduleInfo_StatusInfo_Status = 8
	BackupScheduleInfo_StatusInfo_DeletePending  BackupScheduleInfo_StatusInfo_Status = 9
)

func (BackupScheduleInfo_StatusInfo_Status) EnumDescriptor

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

func (BackupScheduleInfo_StatusInfo_Status) String

type BackupScheduleInfo_SuspendedBy

type BackupScheduleInfo_SuspendedBy struct {
	Source BackupScheduleInfo_SuspendedBy_Source `protobuf:"varint,1,opt,name=source,proto3,enum=BackupScheduleInfo_SuspendedBy_Source" json:"source,omitempty"`
}

func NewPopulatedBackupScheduleInfo_SuspendedBy

func NewPopulatedBackupScheduleInfo_SuspendedBy(r randyApi, easy bool) *BackupScheduleInfo_SuspendedBy

func (*BackupScheduleInfo_SuspendedBy) Descriptor

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

func (*BackupScheduleInfo_SuspendedBy) Equal

func (this *BackupScheduleInfo_SuspendedBy) Equal(that interface{}) bool

func (*BackupScheduleInfo_SuspendedBy) GetSource

func (*BackupScheduleInfo_SuspendedBy) Marshal

func (m *BackupScheduleInfo_SuspendedBy) Marshal() (dAtA []byte, err error)

func (*BackupScheduleInfo_SuspendedBy) MarshalTo

func (m *BackupScheduleInfo_SuspendedBy) MarshalTo(dAtA []byte) (int, error)

func (*BackupScheduleInfo_SuspendedBy) MarshalToSizedBuffer

func (m *BackupScheduleInfo_SuspendedBy) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BackupScheduleInfo_SuspendedBy) ProtoMessage

func (*BackupScheduleInfo_SuspendedBy) ProtoMessage()

func (*BackupScheduleInfo_SuspendedBy) Reset

func (m *BackupScheduleInfo_SuspendedBy) Reset()

func (*BackupScheduleInfo_SuspendedBy) Size

func (m *BackupScheduleInfo_SuspendedBy) Size() (n int)

func (*BackupScheduleInfo_SuspendedBy) String

func (*BackupScheduleInfo_SuspendedBy) Unmarshal

func (m *BackupScheduleInfo_SuspendedBy) Unmarshal(dAtA []byte) error

func (*BackupScheduleInfo_SuspendedBy) XXX_DiscardUnknown

func (m *BackupScheduleInfo_SuspendedBy) XXX_DiscardUnknown()

func (*BackupScheduleInfo_SuspendedBy) XXX_Marshal

func (m *BackupScheduleInfo_SuspendedBy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BackupScheduleInfo_SuspendedBy) XXX_Merge

func (m *BackupScheduleInfo_SuspendedBy) XXX_Merge(src proto.Message)

func (*BackupScheduleInfo_SuspendedBy) XXX_Size

func (m *BackupScheduleInfo_SuspendedBy) XXX_Size() int

func (*BackupScheduleInfo_SuspendedBy) XXX_Unmarshal

func (m *BackupScheduleInfo_SuspendedBy) XXX_Unmarshal(b []byte) error

type BackupScheduleInfo_SuspendedBy_Source

type BackupScheduleInfo_SuspendedBy_Source int32
const (
	BackupScheduleInfo_SuspendedBy_Invalid      BackupScheduleInfo_SuspendedBy_Source = 0
	BackupScheduleInfo_SuspendedBy_User         BackupScheduleInfo_SuspendedBy_Source = 1
	BackupScheduleInfo_SuspendedBy_LicenseCheck BackupScheduleInfo_SuspendedBy_Source = 2
)

func (BackupScheduleInfo_SuspendedBy_Source) EnumDescriptor

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

func (BackupScheduleInfo_SuspendedBy_Source) String

type BackupScheduleInspectRequest

type BackupScheduleInspectRequest struct {
	OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
	Name  string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Uid   string `protobuf:"bytes,3,opt,name=uid,proto3" json:"uid,omitempty"`
}

Define BackupScheduleInspectRequest struct

func NewPopulatedBackupScheduleInspectRequest

func NewPopulatedBackupScheduleInspectRequest(r randyApi, easy bool) *BackupScheduleInspectRequest

func (*BackupScheduleInspectRequest) Descriptor

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

func (*BackupScheduleInspectRequest) Equal

func (this *BackupScheduleInspectRequest) Equal(that interface{}) bool

func (*BackupScheduleInspectRequest) GetName

func (m *BackupScheduleInspectRequest) GetName() string

func (*BackupScheduleInspectRequest) GetOrgId

func (m *BackupScheduleInspectRequest) GetOrgId() string

func (*BackupScheduleInspectRequest) GetUid added in v1.2.1

func (*BackupScheduleInspectRequest) Marshal

func (m *BackupScheduleInspectRequest) Marshal() (dAtA []byte, err error)

func (*BackupScheduleInspectRequest) MarshalTo

func (m *BackupScheduleInspectRequest) MarshalTo(dAtA []byte) (int, error)

func (*BackupScheduleInspectRequest) MarshalToSizedBuffer

func (m *BackupScheduleInspectRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BackupScheduleInspectRequest) ProtoMessage

func (*BackupScheduleInspectRequest) ProtoMessage()

func (*BackupScheduleInspectRequest) Reset

func (m *BackupScheduleInspectRequest) Reset()

func (*BackupScheduleInspectRequest) Size

func (m *BackupScheduleInspectRequest) Size() (n int)

func (*BackupScheduleInspectRequest) String

func (*BackupScheduleInspectRequest) Unmarshal

func (m *BackupScheduleInspectRequest) Unmarshal(dAtA []byte) error

func (*BackupScheduleInspectRequest) XXX_DiscardUnknown

func (m *BackupScheduleInspectRequest) XXX_DiscardUnknown()

func (*BackupScheduleInspectRequest) XXX_Marshal

func (m *BackupScheduleInspectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BackupScheduleInspectRequest) XXX_Merge

func (m *BackupScheduleInspectRequest) XXX_Merge(src proto.Message)

func (*BackupScheduleInspectRequest) XXX_Size

func (m *BackupScheduleInspectRequest) XXX_Size() int

func (*BackupScheduleInspectRequest) XXX_Unmarshal

func (m *BackupScheduleInspectRequest) XXX_Unmarshal(b []byte) error

type BackupScheduleInspectResponse

type BackupScheduleInspectResponse struct {
	BackupSchedule *BackupScheduleObject `protobuf:"bytes,1,opt,name=backup_schedule,json=backupSchedule,proto3" json:"backup_schedule,omitempty"`
}

Define BackupScheduleInspectResponse struct

func NewPopulatedBackupScheduleInspectResponse

func NewPopulatedBackupScheduleInspectResponse(r randyApi, easy bool) *BackupScheduleInspectResponse

func (*BackupScheduleInspectResponse) Descriptor

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

func (*BackupScheduleInspectResponse) Equal

func (this *BackupScheduleInspectResponse) Equal(that interface{}) bool

func (*BackupScheduleInspectResponse) GetBackupSchedule

func (m *BackupScheduleInspectResponse) GetBackupSchedule() *BackupScheduleObject

func (*BackupScheduleInspectResponse) Marshal

func (m *BackupScheduleInspectResponse) Marshal() (dAtA []byte, err error)

func (*BackupScheduleInspectResponse) MarshalTo

func (m *BackupScheduleInspectResponse) MarshalTo(dAtA []byte) (int, error)

func (*BackupScheduleInspectResponse) MarshalToSizedBuffer

func (m *BackupScheduleInspectResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BackupScheduleInspectResponse) ProtoMessage

func (*BackupScheduleInspectResponse) ProtoMessage()

func (*BackupScheduleInspectResponse) Reset

func (m *BackupScheduleInspectResponse) Reset()

func (*BackupScheduleInspectResponse) Size

func (m *BackupScheduleInspectResponse) Size() (n int)

func (*BackupScheduleInspectResponse) String

func (*BackupScheduleInspectResponse) Unmarshal

func (m *BackupScheduleInspectResponse) Unmarshal(dAtA []byte) error

func (*BackupScheduleInspectResponse) XXX_DiscardUnknown

func (m *BackupScheduleInspectResponse) XXX_DiscardUnknown()

func (*BackupScheduleInspectResponse) XXX_Marshal

func (m *BackupScheduleInspectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BackupScheduleInspectResponse) XXX_Merge

func (m *BackupScheduleInspectResponse) XXX_Merge(src proto.Message)

func (*BackupScheduleInspectResponse) XXX_Size

func (m *BackupScheduleInspectResponse) XXX_Size() int

func (*BackupScheduleInspectResponse) XXX_Unmarshal

func (m *BackupScheduleInspectResponse) XXX_Unmarshal(b []byte) error

type BackupScheduleObject

type BackupScheduleObject struct {
	*Metadata           `protobuf:"bytes,1,opt,name=metadata,proto3,embedded=metadata" json:"metadata"`
	*BackupScheduleInfo `` /* 147-byte string literal not displayed */
}

func NewPopulatedBackupScheduleObject

func NewPopulatedBackupScheduleObject(r randyApi, easy bool) *BackupScheduleObject

func (*BackupScheduleObject) Descriptor

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

func (*BackupScheduleObject) Equal

func (this *BackupScheduleObject) Equal(that interface{}) bool

func (*BackupScheduleObject) Marshal

func (m *BackupScheduleObject) Marshal() (dAtA []byte, err error)

func (*BackupScheduleObject) MarshalTo

func (m *BackupScheduleObject) MarshalTo(dAtA []byte) (int, error)

func (*BackupScheduleObject) MarshalToSizedBuffer

func (m *BackupScheduleObject) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BackupScheduleObject) ProtoMessage

func (*BackupScheduleObject) ProtoMessage()

func (*BackupScheduleObject) Reset

func (m *BackupScheduleObject) Reset()

func (*BackupScheduleObject) Size

func (m *BackupScheduleObject) Size() (n int)

func (*BackupScheduleObject) String

func (m *BackupScheduleObject) String() string

func (*BackupScheduleObject) Unmarshal

func (m *BackupScheduleObject) Unmarshal(dAtA []byte) error

func (*BackupScheduleObject) XXX_DiscardUnknown

func (m *BackupScheduleObject) XXX_DiscardUnknown()

func (*BackupScheduleObject) XXX_Marshal

func (m *BackupScheduleObject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BackupScheduleObject) XXX_Merge

func (m *BackupScheduleObject) XXX_Merge(src proto.Message)

func (*BackupScheduleObject) XXX_Size

func (m *BackupScheduleObject) XXX_Size() int

func (*BackupScheduleObject) XXX_Unmarshal

func (m *BackupScheduleObject) XXX_Unmarshal(b []byte) error

type BackupScheduleServer

type BackupScheduleServer interface {
	// Create creates new backup schedule
	Create(context.Context, *BackupScheduleCreateRequest) (*BackupScheduleCreateResponse, error)
	// Update updates a backup schedule
	Update(context.Context, *BackupScheduleUpdateRequest) (*BackupScheduleUpdateResponse, error)
	// Enumerate returns a list of backup schedule
	Enumerate(context.Context, *BackupScheduleEnumerateRequest) (*BackupScheduleEnumerateResponse, error)
	// Inspect returns detail information about a specified backup schedule
	Inspect(context.Context, *BackupScheduleInspectRequest) (*BackupScheduleInspectResponse, error)
	// Delete removes a backup schedule
	Delete(context.Context, *BackupScheduleDeleteRequest) (*BackupScheduleDeleteResponse, error)
}

BackupScheduleServer is the server API for BackupSchedule service.

type BackupScheduleUpdateRequest

type BackupScheduleUpdateRequest struct {
	*CreateMetadata `protobuf:"bytes,1,opt,name=metadata,proto3,embedded=metadata" json:"metadata,omitempty"`
	// schedule_policy is deprecated, not to be used
	SchedulePolicy string                               `protobuf:"bytes,2,opt,name=schedule_policy,json=schedulePolicy,proto3" json:"schedule_policy,omitempty"`
	ReclaimPolicy  BackupScheduleInfo_ReclaimPolicyType `` /* 143-byte string literal not displayed */
	// Name of BackupLocation, is deprecated. Not to be used
	BackupLocation string `protobuf:"bytes,4,opt,name=backup_location,json=backupLocation,proto3" json:"backup_location,omitempty"`
	// Name of Cluster
	Cluster string `protobuf:"bytes,5,opt,name=cluster,proto3" json:"cluster,omitempty"`
	// Namespaces to backup. Only an admin can provide multiple namespaces
	Namespaces []string `protobuf:"bytes,6,rep,name=namespaces,proto3" json:"namespaces,omitempty"`
	// Label selectors to choose resources
	LabelSelectors map[string]string `` /* 191-byte string literal not displayed */
	// pre_exec_rule and post_exec_rule are deprecated. Not to be used.
	PreExecRule  string `protobuf:"bytes,8,opt,name=pre_exec_rule,json=preExecRule,proto3" json:"pre_exec_rule,omitempty"`
	PostExecRule string `protobuf:"bytes,9,opt,name=post_exec_rule,json=postExecRule,proto3" json:"post_exec_rule,omitempty"`
	Suspend      bool   `protobuf:"varint,10,opt,name=suspend,proto3" json:"suspend,omitempty"`
	// List of resources to backup (optional)
	IncludeResources []*ResourceInfo `protobuf:"bytes,11,rep,name=include_resources,json=includeResources,proto3" json:"include_resources,omitempty"`
	// Snapshot class name to use for backup schedule (optional)
	CsiSnapshotClassName string     `` /* 126-byte string literal not displayed */
	SchedulePolicyRef    *ObjectRef `protobuf:"bytes,13,opt,name=schedule_policy_ref,json=schedulePolicyRef,proto3" json:"schedule_policy_ref,omitempty"`
	BackupLocationRef    *ObjectRef `protobuf:"bytes,14,opt,name=backup_location_ref,json=backupLocationRef,proto3" json:"backup_location_ref,omitempty"`
	PreExecRuleRef       *ObjectRef `protobuf:"bytes,15,opt,name=pre_exec_rule_ref,json=preExecRuleRef,proto3" json:"pre_exec_rule_ref,omitempty"`
	PostExecRuleRef      *ObjectRef `protobuf:"bytes,16,opt,name=post_exec_rule_ref,json=postExecRuleRef,proto3" json:"post_exec_rule_ref,omitempty"`
}

Define BackupScheduleUpdateRequest struct

func NewPopulatedBackupScheduleUpdateRequest

func NewPopulatedBackupScheduleUpdateRequest(r randyApi, easy bool) *BackupScheduleUpdateRequest

func (*BackupScheduleUpdateRequest) Descriptor

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

func (*BackupScheduleUpdateRequest) Equal

func (this *BackupScheduleUpdateRequest) Equal(that interface{}) bool

func (*BackupScheduleUpdateRequest) GetBackupLocation

func (m *BackupScheduleUpdateRequest) GetBackupLocation() string

func (*BackupScheduleUpdateRequest) GetBackupLocationRef added in v1.2.1

func (m *BackupScheduleUpdateRequest) GetBackupLocationRef() *ObjectRef

func (*BackupScheduleUpdateRequest) GetCluster

func (m *BackupScheduleUpdateRequest) GetCluster() string

func (*BackupScheduleUpdateRequest) GetCsiSnapshotClassName added in v1.2.1

func (m *BackupScheduleUpdateRequest) GetCsiSnapshotClassName() string

func (*BackupScheduleUpdateRequest) GetIncludeResources

func (m *BackupScheduleUpdateRequest) GetIncludeResources() []*ResourceInfo

func (*BackupScheduleUpdateRequest) GetLabelSelectors

func (m *BackupScheduleUpdateRequest) GetLabelSelectors() map[string]string

func (*BackupScheduleUpdateRequest) GetNamespaces

func (m *BackupScheduleUpdateRequest) GetNamespaces() []string

func (*BackupScheduleUpdateRequest) GetPostExecRule

func (m *BackupScheduleUpdateRequest) GetPostExecRule() string

func (*BackupScheduleUpdateRequest) GetPostExecRuleRef added in v1.2.1

func (m *BackupScheduleUpdateRequest) GetPostExecRuleRef() *ObjectRef

func (*BackupScheduleUpdateRequest) GetPreExecRule

func (m *BackupScheduleUpdateRequest) GetPreExecRule() string

func (*BackupScheduleUpdateRequest) GetPreExecRuleRef added in v1.2.1

func (m *BackupScheduleUpdateRequest) GetPreExecRuleRef() *ObjectRef

func (*BackupScheduleUpdateRequest) GetReclaimPolicy

func (*BackupScheduleUpdateRequest) GetSchedulePolicy

func (m *BackupScheduleUpdateRequest) GetSchedulePolicy() string

func (*BackupScheduleUpdateRequest) GetSchedulePolicyRef added in v1.2.1

func (m *BackupScheduleUpdateRequest) GetSchedulePolicyRef() *ObjectRef

func (*BackupScheduleUpdateRequest) GetSuspend

func (m *BackupScheduleUpdateRequest) GetSuspend() bool

func (*BackupScheduleUpdateRequest) Marshal

func (m *BackupScheduleUpdateRequest) Marshal() (dAtA []byte, err error)

func (*BackupScheduleUpdateRequest) MarshalTo

func (m *BackupScheduleUpdateRequest) MarshalTo(dAtA []byte) (int, error)

func (*BackupScheduleUpdateRequest) MarshalToSizedBuffer

func (m *BackupScheduleUpdateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BackupScheduleUpdateRequest) ProtoMessage

func (*BackupScheduleUpdateRequest) ProtoMessage()

func (*BackupScheduleUpdateRequest) Reset

func (m *BackupScheduleUpdateRequest) Reset()

func (*BackupScheduleUpdateRequest) Size

func (m *BackupScheduleUpdateRequest) Size() (n int)

func (*BackupScheduleUpdateRequest) String

func (m *BackupScheduleUpdateRequest) String() string

func (*BackupScheduleUpdateRequest) Unmarshal

func (m *BackupScheduleUpdateRequest) Unmarshal(dAtA []byte) error

func (*BackupScheduleUpdateRequest) XXX_DiscardUnknown

func (m *BackupScheduleUpdateRequest) XXX_DiscardUnknown()

func (*BackupScheduleUpdateRequest) XXX_Marshal

func (m *BackupScheduleUpdateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BackupScheduleUpdateRequest) XXX_Merge

func (m *BackupScheduleUpdateRequest) XXX_Merge(src proto.Message)

func (*BackupScheduleUpdateRequest) XXX_Size

func (m *BackupScheduleUpdateRequest) XXX_Size() int

func (*BackupScheduleUpdateRequest) XXX_Unmarshal

func (m *BackupScheduleUpdateRequest) XXX_Unmarshal(b []byte) error

type BackupScheduleUpdateResponse

type BackupScheduleUpdateResponse struct {
}

Define BackupScheduleUpdateResponse struct

func NewPopulatedBackupScheduleUpdateResponse

func NewPopulatedBackupScheduleUpdateResponse(r randyApi, easy bool) *BackupScheduleUpdateResponse

func (*BackupScheduleUpdateResponse) Descriptor

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

func (*BackupScheduleUpdateResponse) Equal

func (this *BackupScheduleUpdateResponse) Equal(that interface{}) bool

func (*BackupScheduleUpdateResponse) Marshal

func (m *BackupScheduleUpdateResponse) Marshal() (dAtA []byte, err error)

func (*BackupScheduleUpdateResponse) MarshalTo

func (m *BackupScheduleUpdateResponse) MarshalTo(dAtA []byte) (int, error)

func (*BackupScheduleUpdateResponse) MarshalToSizedBuffer

func (m *BackupScheduleUpdateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BackupScheduleUpdateResponse) ProtoMessage

func (*BackupScheduleUpdateResponse) ProtoMessage()

func (*BackupScheduleUpdateResponse) Reset

func (m *BackupScheduleUpdateResponse) Reset()

func (*BackupScheduleUpdateResponse) Size

func (m *BackupScheduleUpdateResponse) Size() (n int)

func (*BackupScheduleUpdateResponse) String

func (*BackupScheduleUpdateResponse) Unmarshal

func (m *BackupScheduleUpdateResponse) Unmarshal(dAtA []byte) error

func (*BackupScheduleUpdateResponse) XXX_DiscardUnknown

func (m *BackupScheduleUpdateResponse) XXX_DiscardUnknown()

func (*BackupScheduleUpdateResponse) XXX_Marshal

func (m *BackupScheduleUpdateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BackupScheduleUpdateResponse) XXX_Merge

func (m *BackupScheduleUpdateResponse) XXX_Merge(src proto.Message)

func (*BackupScheduleUpdateResponse) XXX_Size

func (m *BackupScheduleUpdateResponse) XXX_Size() int

func (*BackupScheduleUpdateResponse) XXX_Unmarshal

func (m *BackupScheduleUpdateResponse) XXX_Unmarshal(b []byte) error

type BackupServer

type BackupServer interface {
	// Create creates a new backup object
	Create(context.Context, *BackupCreateRequest) (*BackupCreateResponse, error)
	// Update given backup details
	Update(context.Context, *BackupUpdateRequest) (*BackupUpdateResponse, error)
	// Enumerate returns a list of objects
	Enumerate(context.Context, *BackupEnumerateRequest) (*BackupEnumerateResponse, error)
	// Inspect returns detail information about a specified object
	Inspect(context.Context, *BackupInspectRequest) (*BackupInspectResponse, error)
	// Delete triggers delete of a backup
	Delete(context.Context, *BackupDeleteRequest) (*BackupDeleteResponse, error)
}

BackupServer is the server API for Backup service.

type BackupUpdateRequest

type BackupUpdateRequest struct {
	*CreateMetadata `protobuf:"bytes,1,opt,name=metadata,proto3,embedded=metadata" json:"metadata,omitempty"`
	// Reference to cloud credential object used for backup
	// cloud_credential is deprecated, not to be used.
	CloudCredential    string     `protobuf:"bytes,2,opt,name=cloud_credential,json=cloudCredential,proto3" json:"cloud_credential,omitempty"`
	CloudCredentialRef *ObjectRef `protobuf:"bytes,3,opt,name=cloud_credential_ref,json=cloudCredentialRef,proto3" json:"cloud_credential_ref,omitempty"`
}

Define BackupUpdateRequest struct

func NewPopulatedBackupUpdateRequest

func NewPopulatedBackupUpdateRequest(r randyApi, easy bool) *BackupUpdateRequest

func (*BackupUpdateRequest) Descriptor

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

func (*BackupUpdateRequest) Equal

func (this *BackupUpdateRequest) Equal(that interface{}) bool

func (*BackupUpdateRequest) GetCloudCredential

func (m *BackupUpdateRequest) GetCloudCredential() string

func (*BackupUpdateRequest) GetCloudCredentialRef added in v1.2.1

func (m *BackupUpdateRequest) GetCloudCredentialRef() *ObjectRef

func (*BackupUpdateRequest) Marshal

func (m *BackupUpdateRequest) Marshal() (dAtA []byte, err error)

func (*BackupUpdateRequest) MarshalTo

func (m *BackupUpdateRequest) MarshalTo(dAtA []byte) (int, error)

func (*BackupUpdateRequest) MarshalToSizedBuffer

func (m *BackupUpdateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BackupUpdateRequest) ProtoMessage

func (*BackupUpdateRequest) ProtoMessage()

func (*BackupUpdateRequest) Reset

func (m *BackupUpdateRequest) Reset()

func (*BackupUpdateRequest) Size

func (m *BackupUpdateRequest) Size() (n int)

func (*BackupUpdateRequest) String

func (m *BackupUpdateRequest) String() string

func (*BackupUpdateRequest) Unmarshal

func (m *BackupUpdateRequest) Unmarshal(dAtA []byte) error

func (*BackupUpdateRequest) XXX_DiscardUnknown

func (m *BackupUpdateRequest) XXX_DiscardUnknown()

func (*BackupUpdateRequest) XXX_Marshal

func (m *BackupUpdateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BackupUpdateRequest) XXX_Merge

func (m *BackupUpdateRequest) XXX_Merge(src proto.Message)

func (*BackupUpdateRequest) XXX_Size

func (m *BackupUpdateRequest) XXX_Size() int

func (*BackupUpdateRequest) XXX_Unmarshal

func (m *BackupUpdateRequest) XXX_Unmarshal(b []byte) error

type BackupUpdateResponse

type BackupUpdateResponse struct {
}

Define BackupUpdateResponse struct

func NewPopulatedBackupUpdateResponse

func NewPopulatedBackupUpdateResponse(r randyApi, easy bool) *BackupUpdateResponse

func (*BackupUpdateResponse) Descriptor

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

func (*BackupUpdateResponse) Equal

func (this *BackupUpdateResponse) Equal(that interface{}) bool

func (*BackupUpdateResponse) Marshal

func (m *BackupUpdateResponse) Marshal() (dAtA []byte, err error)

func (*BackupUpdateResponse) MarshalTo

func (m *BackupUpdateResponse) MarshalTo(dAtA []byte) (int, error)

func (*BackupUpdateResponse) MarshalToSizedBuffer

func (m *BackupUpdateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BackupUpdateResponse) ProtoMessage

func (*BackupUpdateResponse) ProtoMessage()

func (*BackupUpdateResponse) Reset

func (m *BackupUpdateResponse) Reset()

func (*BackupUpdateResponse) Size

func (m *BackupUpdateResponse) Size() (n int)

func (*BackupUpdateResponse) String

func (m *BackupUpdateResponse) String() string

func (*BackupUpdateResponse) Unmarshal

func (m *BackupUpdateResponse) Unmarshal(dAtA []byte) error

func (*BackupUpdateResponse) XXX_DiscardUnknown

func (m *BackupUpdateResponse) XXX_DiscardUnknown()

func (*BackupUpdateResponse) XXX_Marshal

func (m *BackupUpdateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BackupUpdateResponse) XXX_Merge

func (m *BackupUpdateResponse) XXX_Merge(src proto.Message)

func (*BackupUpdateResponse) XXX_Size

func (m *BackupUpdateResponse) XXX_Size() int

func (*BackupUpdateResponse) XXX_Unmarshal

func (m *BackupUpdateResponse) XXX_Unmarshal(b []byte) error

type CloudCredentialClient

type CloudCredentialClient interface {
	// Create creates new cloud credential
	Create(ctx context.Context, in *CloudCredentialCreateRequest, opts ...grpc.CallOption) (*CloudCredentialCreateResponse, error)
	// Update given cloud credential details
	Update(ctx context.Context, in *CloudCredentialUpdateRequest, opts ...grpc.CallOption) (*CloudCredentialUpdateResponse, error)
	// Enumerate returns a list of cloud credentials
	Enumerate(ctx context.Context, in *CloudCredentialEnumerateRequest, opts ...grpc.CallOption) (*CloudCredentialEnumerateResponse, error)
	// Inspect returns detailed information about the specified cloud credential
	Inspect(ctx context.Context, in *CloudCredentialInspectRequest, opts ...grpc.CallOption) (*CloudCredentialInspectResponse, error)
	// Delete removes a cloud credential
	Delete(ctx context.Context, in *CloudCredentialDeleteRequest, opts ...grpc.CallOption) (*CloudCredentialDeleteResponse, error)
	// UpdateOwnership updates ownership of existing object
	UpdateOwnership(ctx context.Context, in *CloudCredentialOwnershipUpdateRequest, opts ...grpc.CallOption) (*CloudCredentialOwnershipUpdateResponse, error)
}

CloudCredentialClient is the client API for CloudCredential service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewCloudCredentialClient

func NewCloudCredentialClient(cc *grpc.ClientConn) CloudCredentialClient

type CloudCredentialCreateRequest

type CloudCredentialCreateRequest struct {
	*CreateMetadata `protobuf:"bytes,1,opt,name=metadata,proto3,embedded=metadata" json:"metadata,omitempty"`
	CloudCredential *CloudCredentialInfo `protobuf:"bytes,2,opt,name=cloud_credential,json=cloudCredential,proto3" json:"cloud_credential,omitempty"`
}

Define CloudCredentialCreateRequest struct

func NewPopulatedCloudCredentialCreateRequest

func NewPopulatedCloudCredentialCreateRequest(r randyApi, easy bool) *CloudCredentialCreateRequest

func (*CloudCredentialCreateRequest) Descriptor

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

func (*CloudCredentialCreateRequest) Equal

func (this *CloudCredentialCreateRequest) Equal(that interface{}) bool

func (*CloudCredentialCreateRequest) GetCloudCredential

func (m *CloudCredentialCreateRequest) GetCloudCredential() *CloudCredentialInfo

func (*CloudCredentialCreateRequest) Marshal

func (m *CloudCredentialCreateRequest) Marshal() (dAtA []byte, err error)

func (*CloudCredentialCreateRequest) MarshalTo

func (m *CloudCredentialCreateRequest) MarshalTo(dAtA []byte) (int, error)

func (*CloudCredentialCreateRequest) MarshalToSizedBuffer

func (m *CloudCredentialCreateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CloudCredentialCreateRequest) ProtoMessage

func (*CloudCredentialCreateRequest) ProtoMessage()

func (*CloudCredentialCreateRequest) Reset

func (m *CloudCredentialCreateRequest) Reset()

func (*CloudCredentialCreateRequest) Size

func (m *CloudCredentialCreateRequest) Size() (n int)

func (*CloudCredentialCreateRequest) String

func (*CloudCredentialCreateRequest) Unmarshal

func (m *CloudCredentialCreateRequest) Unmarshal(dAtA []byte) error

func (*CloudCredentialCreateRequest) XXX_DiscardUnknown

func (m *CloudCredentialCreateRequest) XXX_DiscardUnknown()

func (*CloudCredentialCreateRequest) XXX_Marshal

func (m *CloudCredentialCreateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CloudCredentialCreateRequest) XXX_Merge

func (m *CloudCredentialCreateRequest) XXX_Merge(src proto.Message)

func (*CloudCredentialCreateRequest) XXX_Size

func (m *CloudCredentialCreateRequest) XXX_Size() int

func (*CloudCredentialCreateRequest) XXX_Unmarshal

func (m *CloudCredentialCreateRequest) XXX_Unmarshal(b []byte) error

type CloudCredentialCreateResponse

type CloudCredentialCreateResponse struct {
}

Define CloudCredentialCreateResponse struct

func NewPopulatedCloudCredentialCreateResponse

func NewPopulatedCloudCredentialCreateResponse(r randyApi, easy bool) *CloudCredentialCreateResponse

func (*CloudCredentialCreateResponse) Descriptor

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

func (*CloudCredentialCreateResponse) Equal

func (this *CloudCredentialCreateResponse) Equal(that interface{}) bool

func (*CloudCredentialCreateResponse) Marshal

func (m *CloudCredentialCreateResponse) Marshal() (dAtA []byte, err error)

func (*CloudCredentialCreateResponse) MarshalTo

func (m *CloudCredentialCreateResponse) MarshalTo(dAtA []byte) (int, error)

func (*CloudCredentialCreateResponse) MarshalToSizedBuffer

func (m *CloudCredentialCreateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CloudCredentialCreateResponse) ProtoMessage

func (*CloudCredentialCreateResponse) ProtoMessage()

func (*CloudCredentialCreateResponse) Reset

func (m *CloudCredentialCreateResponse) Reset()

func (*CloudCredentialCreateResponse) Size

func (m *CloudCredentialCreateResponse) Size() (n int)

func (*CloudCredentialCreateResponse) String

func (*CloudCredentialCreateResponse) Unmarshal

func (m *CloudCredentialCreateResponse) Unmarshal(dAtA []byte) error

func (*CloudCredentialCreateResponse) XXX_DiscardUnknown

func (m *CloudCredentialCreateResponse) XXX_DiscardUnknown()

func (*CloudCredentialCreateResponse) XXX_Marshal

func (m *CloudCredentialCreateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CloudCredentialCreateResponse) XXX_Merge

func (m *CloudCredentialCreateResponse) XXX_Merge(src proto.Message)

func (*CloudCredentialCreateResponse) XXX_Size

func (m *CloudCredentialCreateResponse) XXX_Size() int

func (*CloudCredentialCreateResponse) XXX_Unmarshal

func (m *CloudCredentialCreateResponse) XXX_Unmarshal(b []byte) error

type CloudCredentialDeleteRequest

type CloudCredentialDeleteRequest struct {
	OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
	Name  string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Uid   string `protobuf:"bytes,3,opt,name=uid,proto3" json:"uid,omitempty"`
}

Define CloudCredentialDeleteRequest struct

func NewPopulatedCloudCredentialDeleteRequest

func NewPopulatedCloudCredentialDeleteRequest(r randyApi, easy bool) *CloudCredentialDeleteRequest

func (*CloudCredentialDeleteRequest) Descriptor

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

func (*CloudCredentialDeleteRequest) Equal

func (this *CloudCredentialDeleteRequest) Equal(that interface{}) bool

func (*CloudCredentialDeleteRequest) GetName

func (m *CloudCredentialDeleteRequest) GetName() string

func (*CloudCredentialDeleteRequest) GetOrgId

func (m *CloudCredentialDeleteRequest) GetOrgId() string

func (*CloudCredentialDeleteRequest) GetUid added in v1.2.1

func (*CloudCredentialDeleteRequest) Marshal

func (m *CloudCredentialDeleteRequest) Marshal() (dAtA []byte, err error)

func (*CloudCredentialDeleteRequest) MarshalTo

func (m *CloudCredentialDeleteRequest) MarshalTo(dAtA []byte) (int, error)

func (*CloudCredentialDeleteRequest) MarshalToSizedBuffer

func (m *CloudCredentialDeleteRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CloudCredentialDeleteRequest) ProtoMessage

func (*CloudCredentialDeleteRequest) ProtoMessage()

func (*CloudCredentialDeleteRequest) Reset

func (m *CloudCredentialDeleteRequest) Reset()

func (*CloudCredentialDeleteRequest) Size

func (m *CloudCredentialDeleteRequest) Size() (n int)

func (*CloudCredentialDeleteRequest) String

func (*CloudCredentialDeleteRequest) Unmarshal

func (m *CloudCredentialDeleteRequest) Unmarshal(dAtA []byte) error

func (*CloudCredentialDeleteRequest) XXX_DiscardUnknown

func (m *CloudCredentialDeleteRequest) XXX_DiscardUnknown()

func (*CloudCredentialDeleteRequest) XXX_Marshal

func (m *CloudCredentialDeleteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CloudCredentialDeleteRequest) XXX_Merge

func (m *CloudCredentialDeleteRequest) XXX_Merge(src proto.Message)

func (*CloudCredentialDeleteRequest) XXX_Size

func (m *CloudCredentialDeleteRequest) XXX_Size() int

func (*CloudCredentialDeleteRequest) XXX_Unmarshal

func (m *CloudCredentialDeleteRequest) XXX_Unmarshal(b []byte) error

type CloudCredentialDeleteResponse

type CloudCredentialDeleteResponse struct {
}

Define CloudCredentialInspectResponse struct

func NewPopulatedCloudCredentialDeleteResponse

func NewPopulatedCloudCredentialDeleteResponse(r randyApi, easy bool) *CloudCredentialDeleteResponse

func (*CloudCredentialDeleteResponse) Descriptor

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

func (*CloudCredentialDeleteResponse) Equal

func (this *CloudCredentialDeleteResponse) Equal(that interface{}) bool

func (*CloudCredentialDeleteResponse) Marshal

func (m *CloudCredentialDeleteResponse) Marshal() (dAtA []byte, err error)

func (*CloudCredentialDeleteResponse) MarshalTo

func (m *CloudCredentialDeleteResponse) MarshalTo(dAtA []byte) (int, error)

func (*CloudCredentialDeleteResponse) MarshalToSizedBuffer

func (m *CloudCredentialDeleteResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CloudCredentialDeleteResponse) ProtoMessage

func (*CloudCredentialDeleteResponse) ProtoMessage()

func (*CloudCredentialDeleteResponse) Reset

func (m *CloudCredentialDeleteResponse) Reset()

func (*CloudCredentialDeleteResponse) Size

func (m *CloudCredentialDeleteResponse) Size() (n int)

func (*CloudCredentialDeleteResponse) String

func (*CloudCredentialDeleteResponse) Unmarshal

func (m *CloudCredentialDeleteResponse) Unmarshal(dAtA []byte) error

func (*CloudCredentialDeleteResponse) XXX_DiscardUnknown

func (m *CloudCredentialDeleteResponse) XXX_DiscardUnknown()

func (*CloudCredentialDeleteResponse) XXX_Marshal

func (m *CloudCredentialDeleteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CloudCredentialDeleteResponse) XXX_Merge

func (m *CloudCredentialDeleteResponse) XXX_Merge(src proto.Message)

func (*CloudCredentialDeleteResponse) XXX_Size

func (m *CloudCredentialDeleteResponse) XXX_Size() int

func (*CloudCredentialDeleteResponse) XXX_Unmarshal

func (m *CloudCredentialDeleteResponse) XXX_Unmarshal(b []byte) error

type CloudCredentialEnumerateRequest

type CloudCredentialEnumerateRequest struct {
	OrgId          string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
	IncludeSecrets bool   `protobuf:"varint,2,opt,name=include_secrets,json=includeSecrets,proto3" json:"include_secrets,omitempty"`
}

Define CloudCredentialEnumerateRequest struct

func NewPopulatedCloudCredentialEnumerateRequest

func NewPopulatedCloudCredentialEnumerateRequest(r randyApi, easy bool) *CloudCredentialEnumerateRequest

func (*CloudCredentialEnumerateRequest) Descriptor

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

func (*CloudCredentialEnumerateRequest) Equal

func (this *CloudCredentialEnumerateRequest) Equal(that interface{}) bool

func (*CloudCredentialEnumerateRequest) GetIncludeSecrets

func (m *CloudCredentialEnumerateRequest) GetIncludeSecrets() bool

func (*CloudCredentialEnumerateRequest) GetOrgId

func (*CloudCredentialEnumerateRequest) Marshal

func (m *CloudCredentialEnumerateRequest) Marshal() (dAtA []byte, err error)

func (*CloudCredentialEnumerateRequest) MarshalTo

func (m *CloudCredentialEnumerateRequest) MarshalTo(dAtA []byte) (int, error)

func (*CloudCredentialEnumerateRequest) MarshalToSizedBuffer

func (m *CloudCredentialEnumerateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CloudCredentialEnumerateRequest) ProtoMessage

func (*CloudCredentialEnumerateRequest) ProtoMessage()

func (*CloudCredentialEnumerateRequest) Reset

func (*CloudCredentialEnumerateRequest) Size

func (m *CloudCredentialEnumerateRequest) Size() (n int)

func (*CloudCredentialEnumerateRequest) String

func (*CloudCredentialEnumerateRequest) Unmarshal

func (m *CloudCredentialEnumerateRequest) Unmarshal(dAtA []byte) error

func (*CloudCredentialEnumerateRequest) XXX_DiscardUnknown

func (m *CloudCredentialEnumerateRequest) XXX_DiscardUnknown()

func (*CloudCredentialEnumerateRequest) XXX_Marshal

func (m *CloudCredentialEnumerateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CloudCredentialEnumerateRequest) XXX_Merge

func (m *CloudCredentialEnumerateRequest) XXX_Merge(src proto.Message)

func (*CloudCredentialEnumerateRequest) XXX_Size

func (m *CloudCredentialEnumerateRequest) XXX_Size() int

func (*CloudCredentialEnumerateRequest) XXX_Unmarshal

func (m *CloudCredentialEnumerateRequest) XXX_Unmarshal(b []byte) error

type CloudCredentialEnumerateResponse

type CloudCredentialEnumerateResponse struct {
	CloudCredentials []*CloudCredentialObject `protobuf:"bytes,1,rep,name=cloud_credentials,json=cloudCredentials,proto3" json:"cloud_credentials,omitempty"`
}

Define CloudCredentialEnumerateResponse struct

func NewPopulatedCloudCredentialEnumerateResponse

func NewPopulatedCloudCredentialEnumerateResponse(r randyApi, easy bool) *CloudCredentialEnumerateResponse

func (*CloudCredentialEnumerateResponse) Descriptor

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

func (*CloudCredentialEnumerateResponse) Equal

func (this *CloudCredentialEnumerateResponse) Equal(that interface{}) bool

func (*CloudCredentialEnumerateResponse) GetCloudCredentials

func (m *CloudCredentialEnumerateResponse) GetCloudCredentials() []*CloudCredentialObject

func (*CloudCredentialEnumerateResponse) Marshal

func (m *CloudCredentialEnumerateResponse) Marshal() (dAtA []byte, err error)

func (*CloudCredentialEnumerateResponse) MarshalTo

func (m *CloudCredentialEnumerateResponse) MarshalTo(dAtA []byte) (int, error)

func (*CloudCredentialEnumerateResponse) MarshalToSizedBuffer

func (m *CloudCredentialEnumerateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CloudCredentialEnumerateResponse) ProtoMessage

func (*CloudCredentialEnumerateResponse) ProtoMessage()

func (*CloudCredentialEnumerateResponse) Reset

func (*CloudCredentialEnumerateResponse) Size

func (m *CloudCredentialEnumerateResponse) Size() (n int)

func (*CloudCredentialEnumerateResponse) String

func (*CloudCredentialEnumerateResponse) Unmarshal

func (m *CloudCredentialEnumerateResponse) Unmarshal(dAtA []byte) error

func (*CloudCredentialEnumerateResponse) XXX_DiscardUnknown

func (m *CloudCredentialEnumerateResponse) XXX_DiscardUnknown()

func (*CloudCredentialEnumerateResponse) XXX_Marshal

func (m *CloudCredentialEnumerateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CloudCredentialEnumerateResponse) XXX_Merge

func (*CloudCredentialEnumerateResponse) XXX_Size

func (m *CloudCredentialEnumerateResponse) XXX_Size() int

func (*CloudCredentialEnumerateResponse) XXX_Unmarshal

func (m *CloudCredentialEnumerateResponse) XXX_Unmarshal(b []byte) error

type CloudCredentialInfo

type CloudCredentialInfo struct {
	Type CloudCredentialInfo_Type `protobuf:"varint,1,opt,name=type,proto3,enum=CloudCredentialInfo_Type" json:"type,omitempty"`
	// Types that are valid to be assigned to Config:
	//	*CloudCredentialInfo_AwsConfig
	//	*CloudCredentialInfo_AzureConfig
	//	*CloudCredentialInfo_GoogleConfig
	//	*CloudCredentialInfo_IbmConfig
	Config isCloudCredentialInfo_Config `protobuf_oneof:"config"`
}

func NewPopulatedCloudCredentialInfo

func NewPopulatedCloudCredentialInfo(r randyApi, easy bool) *CloudCredentialInfo

func (*CloudCredentialInfo) Descriptor

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

func (*CloudCredentialInfo) Equal

func (this *CloudCredentialInfo) Equal(that interface{}) bool

func (*CloudCredentialInfo) GetAwsConfig

func (m *CloudCredentialInfo) GetAwsConfig() *AWSConfig

func (*CloudCredentialInfo) GetAzureConfig

func (m *CloudCredentialInfo) GetAzureConfig() *AzureConfig

func (*CloudCredentialInfo) GetConfig

func (m *CloudCredentialInfo) GetConfig() isCloudCredentialInfo_Config

func (*CloudCredentialInfo) GetGoogleConfig

func (m *CloudCredentialInfo) GetGoogleConfig() *GoogleConfig

func (*CloudCredentialInfo) GetIbmConfig added in v1.2.1

func (m *CloudCredentialInfo) GetIbmConfig() *IBMConfig

func (*CloudCredentialInfo) GetType

func (*CloudCredentialInfo) Marshal

func (m *CloudCredentialInfo) Marshal() (dAtA []byte, err error)

func (*CloudCredentialInfo) MarshalTo

func (m *CloudCredentialInfo) MarshalTo(dAtA []byte) (int, error)

func (*CloudCredentialInfo) MarshalToSizedBuffer

func (m *CloudCredentialInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CloudCredentialInfo) ProtoMessage

func (*CloudCredentialInfo) ProtoMessage()

func (*CloudCredentialInfo) Reset

func (m *CloudCredentialInfo) Reset()

func (*CloudCredentialInfo) Size

func (m *CloudCredentialInfo) Size() (n int)

func (*CloudCredentialInfo) String

func (m *CloudCredentialInfo) String() string

func (*CloudCredentialInfo) Unmarshal

func (m *CloudCredentialInfo) Unmarshal(dAtA []byte) error

func (*CloudCredentialInfo) XXX_DiscardUnknown

func (m *CloudCredentialInfo) XXX_DiscardUnknown()

func (*CloudCredentialInfo) XXX_Marshal

func (m *CloudCredentialInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CloudCredentialInfo) XXX_Merge

func (m *CloudCredentialInfo) XXX_Merge(src proto.Message)

func (*CloudCredentialInfo) XXX_OneofWrappers

func (*CloudCredentialInfo) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*CloudCredentialInfo) XXX_Size

func (m *CloudCredentialInfo) XXX_Size() int

func (*CloudCredentialInfo) XXX_Unmarshal

func (m *CloudCredentialInfo) XXX_Unmarshal(b []byte) error

type CloudCredentialInfo_AwsConfig

type CloudCredentialInfo_AwsConfig struct {
	AwsConfig *AWSConfig `protobuf:"bytes,100,opt,name=aws_config,json=awsConfig,proto3,oneof" json:"aws_config,omitempty"`
}

func NewPopulatedCloudCredentialInfo_AwsConfig

func NewPopulatedCloudCredentialInfo_AwsConfig(r randyApi, easy bool) *CloudCredentialInfo_AwsConfig

func (*CloudCredentialInfo_AwsConfig) Equal

func (this *CloudCredentialInfo_AwsConfig) Equal(that interface{}) bool

func (*CloudCredentialInfo_AwsConfig) MarshalTo

func (m *CloudCredentialInfo_AwsConfig) MarshalTo(dAtA []byte) (int, error)

func (*CloudCredentialInfo_AwsConfig) MarshalToSizedBuffer

func (m *CloudCredentialInfo_AwsConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CloudCredentialInfo_AwsConfig) Size

func (m *CloudCredentialInfo_AwsConfig) Size() (n int)

type CloudCredentialInfo_AzureConfig

type CloudCredentialInfo_AzureConfig struct {
	AzureConfig *AzureConfig `protobuf:"bytes,101,opt,name=azure_config,json=azureConfig,proto3,oneof" json:"azure_config,omitempty"`
}

func NewPopulatedCloudCredentialInfo_AzureConfig

func NewPopulatedCloudCredentialInfo_AzureConfig(r randyApi, easy bool) *CloudCredentialInfo_AzureConfig

func (*CloudCredentialInfo_AzureConfig) Equal

func (this *CloudCredentialInfo_AzureConfig) Equal(that interface{}) bool

func (*CloudCredentialInfo_AzureConfig) MarshalTo

func (m *CloudCredentialInfo_AzureConfig) MarshalTo(dAtA []byte) (int, error)

func (*CloudCredentialInfo_AzureConfig) MarshalToSizedBuffer

func (m *CloudCredentialInfo_AzureConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CloudCredentialInfo_AzureConfig) Size

func (m *CloudCredentialInfo_AzureConfig) Size() (n int)

type CloudCredentialInfo_GoogleConfig

type CloudCredentialInfo_GoogleConfig struct {
	GoogleConfig *GoogleConfig `protobuf:"bytes,102,opt,name=google_config,json=googleConfig,proto3,oneof" json:"google_config,omitempty"`
}

func NewPopulatedCloudCredentialInfo_GoogleConfig

func NewPopulatedCloudCredentialInfo_GoogleConfig(r randyApi, easy bool) *CloudCredentialInfo_GoogleConfig

func (*CloudCredentialInfo_GoogleConfig) Equal

func (this *CloudCredentialInfo_GoogleConfig) Equal(that interface{}) bool

func (*CloudCredentialInfo_GoogleConfig) MarshalTo

func (m *CloudCredentialInfo_GoogleConfig) MarshalTo(dAtA []byte) (int, error)

func (*CloudCredentialInfo_GoogleConfig) MarshalToSizedBuffer

func (m *CloudCredentialInfo_GoogleConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CloudCredentialInfo_GoogleConfig) Size

func (m *CloudCredentialInfo_GoogleConfig) Size() (n int)

type CloudCredentialInfo_IbmConfig added in v1.2.1

type CloudCredentialInfo_IbmConfig struct {
	IbmConfig *IBMConfig `protobuf:"bytes,103,opt,name=ibm_config,json=ibmConfig,proto3,oneof" json:"ibm_config,omitempty"`
}

func NewPopulatedCloudCredentialInfo_IbmConfig added in v1.2.1

func NewPopulatedCloudCredentialInfo_IbmConfig(r randyApi, easy bool) *CloudCredentialInfo_IbmConfig

func (*CloudCredentialInfo_IbmConfig) Equal added in v1.2.1

func (this *CloudCredentialInfo_IbmConfig) Equal(that interface{}) bool

func (*CloudCredentialInfo_IbmConfig) MarshalTo added in v1.2.1

func (m *CloudCredentialInfo_IbmConfig) MarshalTo(dAtA []byte) (int, error)

func (*CloudCredentialInfo_IbmConfig) MarshalToSizedBuffer added in v1.2.1

func (m *CloudCredentialInfo_IbmConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CloudCredentialInfo_IbmConfig) Size added in v1.2.1

func (m *CloudCredentialInfo_IbmConfig) Size() (n int)

type CloudCredentialInfo_Type

type CloudCredentialInfo_Type int32
const (
	CloudCredentialInfo_Invalid CloudCredentialInfo_Type = 0
	CloudCredentialInfo_AWS     CloudCredentialInfo_Type = 1
	CloudCredentialInfo_Azure   CloudCredentialInfo_Type = 2
	CloudCredentialInfo_Google  CloudCredentialInfo_Type = 3
	CloudCredentialInfo_IBM     CloudCredentialInfo_Type = 4
)

func (CloudCredentialInfo_Type) EnumDescriptor

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

func (CloudCredentialInfo_Type) String

func (x CloudCredentialInfo_Type) String() string

type CloudCredentialInspectRequest

type CloudCredentialInspectRequest struct {
	OrgId          string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
	Name           string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	IncludeSecrets bool   `protobuf:"varint,3,opt,name=include_secrets,json=includeSecrets,proto3" json:"include_secrets,omitempty"`
	Uid            string `protobuf:"bytes,4,opt,name=uid,proto3" json:"uid,omitempty"`
}

Define CloudCredentialInspectRequest struct

func NewPopulatedCloudCredentialInspectRequest

func NewPopulatedCloudCredentialInspectRequest(r randyApi, easy bool) *CloudCredentialInspectRequest

func (*CloudCredentialInspectRequest) Descriptor

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

func (*CloudCredentialInspectRequest) Equal

func (this *CloudCredentialInspectRequest) Equal(that interface{}) bool

func (*CloudCredentialInspectRequest) GetIncludeSecrets

func (m *CloudCredentialInspectRequest) GetIncludeSecrets() bool

func (*CloudCredentialInspectRequest) GetName

func (*CloudCredentialInspectRequest) GetOrgId

func (m *CloudCredentialInspectRequest) GetOrgId() string

func (*CloudCredentialInspectRequest) GetUid added in v1.2.1

func (*CloudCredentialInspectRequest) Marshal

func (m *CloudCredentialInspectRequest) Marshal() (dAtA []byte, err error)

func (*CloudCredentialInspectRequest) MarshalTo

func (m *CloudCredentialInspectRequest) MarshalTo(dAtA []byte) (int, error)

func (*CloudCredentialInspectRequest) MarshalToSizedBuffer

func (m *CloudCredentialInspectRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CloudCredentialInspectRequest) ProtoMessage

func (*CloudCredentialInspectRequest) ProtoMessage()

func (*CloudCredentialInspectRequest) Reset

func (m *CloudCredentialInspectRequest) Reset()

func (*CloudCredentialInspectRequest) Size

func (m *CloudCredentialInspectRequest) Size() (n int)

func (*CloudCredentialInspectRequest) String

func (*CloudCredentialInspectRequest) Unmarshal

func (m *CloudCredentialInspectRequest) Unmarshal(dAtA []byte) error

func (*CloudCredentialInspectRequest) XXX_DiscardUnknown

func (m *CloudCredentialInspectRequest) XXX_DiscardUnknown()

func (*CloudCredentialInspectRequest) XXX_Marshal

func (m *CloudCredentialInspectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CloudCredentialInspectRequest) XXX_Merge

func (m *CloudCredentialInspectRequest) XXX_Merge(src proto.Message)

func (*CloudCredentialInspectRequest) XXX_Size

func (m *CloudCredentialInspectRequest) XXX_Size() int

func (*CloudCredentialInspectRequest) XXX_Unmarshal

func (m *CloudCredentialInspectRequest) XXX_Unmarshal(b []byte) error

type CloudCredentialInspectResponse

type CloudCredentialInspectResponse struct {
	CloudCredential *CloudCredentialObject `protobuf:"bytes,1,opt,name=cloud_credential,json=cloudCredential,proto3" json:"cloud_credential,omitempty"`
}

Define CloudCredentialInspectResponse struct

func NewPopulatedCloudCredentialInspectResponse

func NewPopulatedCloudCredentialInspectResponse(r randyApi, easy bool) *CloudCredentialInspectResponse

func (*CloudCredentialInspectResponse) Descriptor

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

func (*CloudCredentialInspectResponse) Equal

func (this *CloudCredentialInspectResponse) Equal(that interface{}) bool

func (*CloudCredentialInspectResponse) GetCloudCredential

func (m *CloudCredentialInspectResponse) GetCloudCredential() *CloudCredentialObject

func (*CloudCredentialInspectResponse) Marshal

func (m *CloudCredentialInspectResponse) Marshal() (dAtA []byte, err error)

func (*CloudCredentialInspectResponse) MarshalTo

func (m *CloudCredentialInspectResponse) MarshalTo(dAtA []byte) (int, error)

func (*CloudCredentialInspectResponse) MarshalToSizedBuffer

func (m *CloudCredentialInspectResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CloudCredentialInspectResponse) ProtoMessage

func (*CloudCredentialInspectResponse) ProtoMessage()

func (*CloudCredentialInspectResponse) Reset

func (m *CloudCredentialInspectResponse) Reset()

func (*CloudCredentialInspectResponse) Size

func (m *CloudCredentialInspectResponse) Size() (n int)

func (*CloudCredentialInspectResponse) String

func (*CloudCredentialInspectResponse) Unmarshal

func (m *CloudCredentialInspectResponse) Unmarshal(dAtA []byte) error

func (*CloudCredentialInspectResponse) XXX_DiscardUnknown

func (m *CloudCredentialInspectResponse) XXX_DiscardUnknown()

func (*CloudCredentialInspectResponse) XXX_Marshal

func (m *CloudCredentialInspectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CloudCredentialInspectResponse) XXX_Merge

func (m *CloudCredentialInspectResponse) XXX_Merge(src proto.Message)

func (*CloudCredentialInspectResponse) XXX_Size

func (m *CloudCredentialInspectResponse) XXX_Size() int

func (*CloudCredentialInspectResponse) XXX_Unmarshal

func (m *CloudCredentialInspectResponse) XXX_Unmarshal(b []byte) error

type CloudCredentialObject

type CloudCredentialObject struct {
	*Metadata           `protobuf:"bytes,1,opt,name=metadata,proto3,embedded=metadata" json:"metadata"`
	CloudCredentialInfo *CloudCredentialInfo `protobuf:"bytes,2,opt,name=cloud_credential_info,json=cloudCredentialInfo,proto3" json:"cloud_credential_info,omitempty"`
}

func NewPopulatedCloudCredentialObject

func NewPopulatedCloudCredentialObject(r randyApi, easy bool) *CloudCredentialObject

func (*CloudCredentialObject) Descriptor

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

func (*CloudCredentialObject) Equal

func (this *CloudCredentialObject) Equal(that interface{}) bool

func (*CloudCredentialObject) GetCloudCredentialInfo

func (m *CloudCredentialObject) GetCloudCredentialInfo() *CloudCredentialInfo

func (*CloudCredentialObject) Marshal

func (m *CloudCredentialObject) Marshal() (dAtA []byte, err error)

func (*CloudCredentialObject) MarshalTo

func (m *CloudCredentialObject) MarshalTo(dAtA []byte) (int, error)

func (*CloudCredentialObject) MarshalToSizedBuffer

func (m *CloudCredentialObject) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CloudCredentialObject) ProtoMessage

func (*CloudCredentialObject) ProtoMessage()

func (*CloudCredentialObject) Reset

func (m *CloudCredentialObject) Reset()

func (*CloudCredentialObject) Size

func (m *CloudCredentialObject) Size() (n int)

func (*CloudCredentialObject) String

func (m *CloudCredentialObject) String() string

func (*CloudCredentialObject) Unmarshal

func (m *CloudCredentialObject) Unmarshal(dAtA []byte) error

func (*CloudCredentialObject) XXX_DiscardUnknown

func (m *CloudCredentialObject) XXX_DiscardUnknown()

func (*CloudCredentialObject) XXX_Marshal

func (m *CloudCredentialObject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CloudCredentialObject) XXX_Merge

func (m *CloudCredentialObject) XXX_Merge(src proto.Message)

func (*CloudCredentialObject) XXX_Size

func (m *CloudCredentialObject) XXX_Size() int

func (*CloudCredentialObject) XXX_Unmarshal

func (m *CloudCredentialObject) XXX_Unmarshal(b []byte) error

type CloudCredentialOwnershipUpdateRequest added in v1.2.1

type CloudCredentialOwnershipUpdateRequest struct {
	OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
	// Cloud credential name to be updated.
	Name      string     `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Ownership *Ownership `protobuf:"bytes,3,opt,name=ownership,proto3" json:"ownership,omitempty"`
	Uid       string     `protobuf:"bytes,4,opt,name=uid,proto3" json:"uid,omitempty"`
}

func NewPopulatedCloudCredentialOwnershipUpdateRequest added in v1.2.1

func NewPopulatedCloudCredentialOwnershipUpdateRequest(r randyApi, easy bool) *CloudCredentialOwnershipUpdateRequest

func (*CloudCredentialOwnershipUpdateRequest) Descriptor added in v1.2.1

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

func (*CloudCredentialOwnershipUpdateRequest) Equal added in v1.2.1

func (this *CloudCredentialOwnershipUpdateRequest) Equal(that interface{}) bool

func (*CloudCredentialOwnershipUpdateRequest) GetName added in v1.2.1

func (*CloudCredentialOwnershipUpdateRequest) GetOrgId added in v1.2.1

func (*CloudCredentialOwnershipUpdateRequest) GetOwnership added in v1.2.1

func (*CloudCredentialOwnershipUpdateRequest) GetUid added in v1.2.1

func (*CloudCredentialOwnershipUpdateRequest) Marshal added in v1.2.1

func (m *CloudCredentialOwnershipUpdateRequest) Marshal() (dAtA []byte, err error)

func (*CloudCredentialOwnershipUpdateRequest) MarshalTo added in v1.2.1

func (m *CloudCredentialOwnershipUpdateRequest) MarshalTo(dAtA []byte) (int, error)

func (*CloudCredentialOwnershipUpdateRequest) MarshalToSizedBuffer added in v1.2.1

func (m *CloudCredentialOwnershipUpdateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CloudCredentialOwnershipUpdateRequest) ProtoMessage added in v1.2.1

func (*CloudCredentialOwnershipUpdateRequest) ProtoMessage()

func (*CloudCredentialOwnershipUpdateRequest) Reset added in v1.2.1

func (*CloudCredentialOwnershipUpdateRequest) Size added in v1.2.1

func (*CloudCredentialOwnershipUpdateRequest) String added in v1.2.1

func (*CloudCredentialOwnershipUpdateRequest) Unmarshal added in v1.2.1

func (m *CloudCredentialOwnershipUpdateRequest) Unmarshal(dAtA []byte) error

func (*CloudCredentialOwnershipUpdateRequest) XXX_DiscardUnknown added in v1.2.1

func (m *CloudCredentialOwnershipUpdateRequest) XXX_DiscardUnknown()

func (*CloudCredentialOwnershipUpdateRequest) XXX_Marshal added in v1.2.1

func (m *CloudCredentialOwnershipUpdateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CloudCredentialOwnershipUpdateRequest) XXX_Merge added in v1.2.1

func (*CloudCredentialOwnershipUpdateRequest) XXX_Size added in v1.2.1

func (*CloudCredentialOwnershipUpdateRequest) XXX_Unmarshal added in v1.2.1

func (m *CloudCredentialOwnershipUpdateRequest) XXX_Unmarshal(b []byte) error

type CloudCredentialOwnershipUpdateResponse added in v1.2.1

type CloudCredentialOwnershipUpdateResponse struct {
}

func NewPopulatedCloudCredentialOwnershipUpdateResponse added in v1.2.1

func NewPopulatedCloudCredentialOwnershipUpdateResponse(r randyApi, easy bool) *CloudCredentialOwnershipUpdateResponse

func (*CloudCredentialOwnershipUpdateResponse) Descriptor added in v1.2.1

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

func (*CloudCredentialOwnershipUpdateResponse) Equal added in v1.2.1

func (this *CloudCredentialOwnershipUpdateResponse) Equal(that interface{}) bool

func (*CloudCredentialOwnershipUpdateResponse) Marshal added in v1.2.1

func (m *CloudCredentialOwnershipUpdateResponse) Marshal() (dAtA []byte, err error)

func (*CloudCredentialOwnershipUpdateResponse) MarshalTo added in v1.2.1

func (m *CloudCredentialOwnershipUpdateResponse) MarshalTo(dAtA []byte) (int, error)

func (*CloudCredentialOwnershipUpdateResponse) MarshalToSizedBuffer added in v1.2.1

func (m *CloudCredentialOwnershipUpdateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CloudCredentialOwnershipUpdateResponse) ProtoMessage added in v1.2.1

func (*CloudCredentialOwnershipUpdateResponse) Reset added in v1.2.1

func (*CloudCredentialOwnershipUpdateResponse) Size added in v1.2.1

func (*CloudCredentialOwnershipUpdateResponse) String added in v1.2.1

func (*CloudCredentialOwnershipUpdateResponse) Unmarshal added in v1.2.1

func (m *CloudCredentialOwnershipUpdateResponse) Unmarshal(dAtA []byte) error

func (*CloudCredentialOwnershipUpdateResponse) XXX_DiscardUnknown added in v1.2.1

func (m *CloudCredentialOwnershipUpdateResponse) XXX_DiscardUnknown()

func (*CloudCredentialOwnershipUpdateResponse) XXX_Marshal added in v1.2.1

func (m *CloudCredentialOwnershipUpdateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CloudCredentialOwnershipUpdateResponse) XXX_Merge added in v1.2.1

func (*CloudCredentialOwnershipUpdateResponse) XXX_Size added in v1.2.1

func (*CloudCredentialOwnershipUpdateResponse) XXX_Unmarshal added in v1.2.1

func (m *CloudCredentialOwnershipUpdateResponse) XXX_Unmarshal(b []byte) error

type CloudCredentialServer

type CloudCredentialServer interface {
	// Create creates new cloud credential
	Create(context.Context, *CloudCredentialCreateRequest) (*CloudCredentialCreateResponse, error)
	// Update given cloud credential details
	Update(context.Context, *CloudCredentialUpdateRequest) (*CloudCredentialUpdateResponse, error)
	// Enumerate returns a list of cloud credentials
	Enumerate(context.Context, *CloudCredentialEnumerateRequest) (*CloudCredentialEnumerateResponse, error)
	// Inspect returns detailed information about the specified cloud credential
	Inspect(context.Context, *CloudCredentialInspectRequest) (*CloudCredentialInspectResponse, error)
	// Delete removes a cloud credential
	Delete(context.Context, *CloudCredentialDeleteRequest) (*CloudCredentialDeleteResponse, error)
	// UpdateOwnership updates ownership of existing object
	UpdateOwnership(context.Context, *CloudCredentialOwnershipUpdateRequest) (*CloudCredentialOwnershipUpdateResponse, error)
}

CloudCredentialServer is the server API for CloudCredential service.

type CloudCredentialUpdateRequest

type CloudCredentialUpdateRequest struct {
	*CreateMetadata `protobuf:"bytes,1,opt,name=metadata,proto3,embedded=metadata" json:"metadata,omitempty"`
	CloudCredential *CloudCredentialInfo `protobuf:"bytes,2,opt,name=cloud_credential,json=cloudCredential,proto3" json:"cloud_credential,omitempty"`
}

Define CloudCredentialUpdateRequest struct

func NewPopulatedCloudCredentialUpdateRequest

func NewPopulatedCloudCredentialUpdateRequest(r randyApi, easy bool) *CloudCredentialUpdateRequest

func (*CloudCredentialUpdateRequest) Descriptor

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

func (*CloudCredentialUpdateRequest) Equal

func (this *CloudCredentialUpdateRequest) Equal(that interface{}) bool

func (*CloudCredentialUpdateRequest) GetCloudCredential

func (m *CloudCredentialUpdateRequest) GetCloudCredential() *CloudCredentialInfo

func (*CloudCredentialUpdateRequest) Marshal

func (m *CloudCredentialUpdateRequest) Marshal() (dAtA []byte, err error)

func (*CloudCredentialUpdateRequest) MarshalTo

func (m *CloudCredentialUpdateRequest) MarshalTo(dAtA []byte) (int, error)

func (*CloudCredentialUpdateRequest) MarshalToSizedBuffer

func (m *CloudCredentialUpdateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CloudCredentialUpdateRequest) ProtoMessage

func (*CloudCredentialUpdateRequest) ProtoMessage()

func (*CloudCredentialUpdateRequest) Reset

func (m *CloudCredentialUpdateRequest) Reset()

func (*CloudCredentialUpdateRequest) Size

func (m *CloudCredentialUpdateRequest) Size() (n int)

func (*CloudCredentialUpdateRequest) String

func (*CloudCredentialUpdateRequest) Unmarshal

func (m *CloudCredentialUpdateRequest) Unmarshal(dAtA []byte) error

func (*CloudCredentialUpdateRequest) XXX_DiscardUnknown

func (m *CloudCredentialUpdateRequest) XXX_DiscardUnknown()

func (*CloudCredentialUpdateRequest) XXX_Marshal

func (m *CloudCredentialUpdateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CloudCredentialUpdateRequest) XXX_Merge

func (m *CloudCredentialUpdateRequest) XXX_Merge(src proto.Message)

func (*CloudCredentialUpdateRequest) XXX_Size

func (m *CloudCredentialUpdateRequest) XXX_Size() int

func (*CloudCredentialUpdateRequest) XXX_Unmarshal

func (m *CloudCredentialUpdateRequest) XXX_Unmarshal(b []byte) error

type CloudCredentialUpdateResponse

type CloudCredentialUpdateResponse struct {
}

Define CloudCredentialUpdateResponse struct

func NewPopulatedCloudCredentialUpdateResponse

func NewPopulatedCloudCredentialUpdateResponse(r randyApi, easy bool) *CloudCredentialUpdateResponse

func (*CloudCredentialUpdateResponse) Descriptor

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

func (*CloudCredentialUpdateResponse) Equal

func (this *CloudCredentialUpdateResponse) Equal(that interface{}) bool

func (*CloudCredentialUpdateResponse) Marshal

func (m *CloudCredentialUpdateResponse) Marshal() (dAtA []byte, err error)

func (*CloudCredentialUpdateResponse) MarshalTo

func (m *CloudCredentialUpdateResponse) MarshalTo(dAtA []byte) (int, error)

func (*CloudCredentialUpdateResponse) MarshalToSizedBuffer

func (m *CloudCredentialUpdateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CloudCredentialUpdateResponse) ProtoMessage

func (*CloudCredentialUpdateResponse) ProtoMessage()

func (*CloudCredentialUpdateResponse) Reset

func (m *CloudCredentialUpdateResponse) Reset()

func (*CloudCredentialUpdateResponse) Size

func (m *CloudCredentialUpdateResponse) Size() (n int)

func (*CloudCredentialUpdateResponse) String

func (*CloudCredentialUpdateResponse) Unmarshal

func (m *CloudCredentialUpdateResponse) Unmarshal(dAtA []byte) error

func (*CloudCredentialUpdateResponse) XXX_DiscardUnknown

func (m *CloudCredentialUpdateResponse) XXX_DiscardUnknown()

func (*CloudCredentialUpdateResponse) XXX_Marshal

func (m *CloudCredentialUpdateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CloudCredentialUpdateResponse) XXX_Merge

func (m *CloudCredentialUpdateResponse) XXX_Merge(src proto.Message)

func (*CloudCredentialUpdateResponse) XXX_Size

func (m *CloudCredentialUpdateResponse) XXX_Size() int

func (*CloudCredentialUpdateResponse) XXX_Unmarshal

func (m *CloudCredentialUpdateResponse) XXX_Unmarshal(b []byte) error

type ClusterClient

type ClusterClient interface {
	// Create creates a new cluster
	Create(ctx context.Context, in *ClusterCreateRequest, opts ...grpc.CallOption) (*ClusterCreateResponse, error)
	// Update given cluster details
	Update(ctx context.Context, in *ClusterUpdateRequest, opts ...grpc.CallOption) (*ClusterUpdateResponse, error)
	// Enumerate returns a list of clusters
	Enumerate(ctx context.Context, in *ClusterEnumerateRequest, opts ...grpc.CallOption) (*ClusterEnumerateResponse, error)
	// Inspect returns detail information about a specified cluster
	Inspect(ctx context.Context, in *ClusterInspectRequest, opts ...grpc.CallOption) (*ClusterInspectResponse, error)
	// Delete removes a cluster
	Delete(ctx context.Context, in *ClusterDeleteRequest, opts ...grpc.CallOption) (*ClusterDeleteResponse, error)
}

ClusterClient is the client API for Cluster service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewClusterClient

func NewClusterClient(cc *grpc.ClientConn) ClusterClient

type ClusterCreateRequest

type ClusterCreateRequest struct {
	*CreateMetadata `protobuf:"bytes,1,opt,name=metadata,proto3,embedded=metadata" json:"metadata,omitempty"`
	PxConfig        *PXConfig `protobuf:"bytes,2,opt,name=px_config,json=pxConfig,proto3" json:"pxconfig"`
	Kubeconfig      string    `protobuf:"bytes,3,opt,name=kubeconfig,proto3" json:"kubeconfig" secure:"true"`
	// cloud_credential is deprecated, not to be used.
	CloudCredential    string     `protobuf:"bytes,4,opt,name=cloud_credential,json=cloudCredential,proto3" json:"cloud_credential,omitempty"`
	CloudCredentialRef *ObjectRef `protobuf:"bytes,5,opt,name=cloud_credential_ref,json=cloudCredentialRef,proto3" json:"cloud_credential_ref,omitempty"`
}

Define ClusterCreateRequest struct

func NewPopulatedClusterCreateRequest

func NewPopulatedClusterCreateRequest(r randyApi, easy bool) *ClusterCreateRequest

func (*ClusterCreateRequest) Descriptor

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

func (*ClusterCreateRequest) Equal

func (this *ClusterCreateRequest) Equal(that interface{}) bool

func (*ClusterCreateRequest) GetCloudCredential

func (m *ClusterCreateRequest) GetCloudCredential() string

func (*ClusterCreateRequest) GetCloudCredentialRef added in v1.2.1

func (m *ClusterCreateRequest) GetCloudCredentialRef() *ObjectRef

func (*ClusterCreateRequest) GetKubeconfig

func (m *ClusterCreateRequest) GetKubeconfig() string

func (*ClusterCreateRequest) GetPxConfig

func (m *ClusterCreateRequest) GetPxConfig() *PXConfig

func (*ClusterCreateRequest) Marshal

func (m *ClusterCreateRequest) Marshal() (dAtA []byte, err error)

func (*ClusterCreateRequest) MarshalTo

func (m *ClusterCreateRequest) MarshalTo(dAtA []byte) (int, error)

func (*ClusterCreateRequest) MarshalToSizedBuffer

func (m *ClusterCreateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ClusterCreateRequest) ProtoMessage

func (*ClusterCreateRequest) ProtoMessage()

func (*ClusterCreateRequest) Reset

func (m *ClusterCreateRequest) Reset()

func (*ClusterCreateRequest) Size

func (m *ClusterCreateRequest) Size() (n int)

func (*ClusterCreateRequest) String

func (m *ClusterCreateRequest) String() string

func (*ClusterCreateRequest) Unmarshal

func (m *ClusterCreateRequest) Unmarshal(dAtA []byte) error

func (*ClusterCreateRequest) XXX_DiscardUnknown

func (m *ClusterCreateRequest) XXX_DiscardUnknown()

func (*ClusterCreateRequest) XXX_Marshal

func (m *ClusterCreateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClusterCreateRequest) XXX_Merge

func (m *ClusterCreateRequest) XXX_Merge(src proto.Message)

func (*ClusterCreateRequest) XXX_Size

func (m *ClusterCreateRequest) XXX_Size() int

func (*ClusterCreateRequest) XXX_Unmarshal

func (m *ClusterCreateRequest) XXX_Unmarshal(b []byte) error

type ClusterCreateResponse

type ClusterCreateResponse struct {
}

Define ClusterCreateResponse struct

func NewPopulatedClusterCreateResponse

func NewPopulatedClusterCreateResponse(r randyApi, easy bool) *ClusterCreateResponse

func (*ClusterCreateResponse) Descriptor

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

func (*ClusterCreateResponse) Equal

func (this *ClusterCreateResponse) Equal(that interface{}) bool

func (*ClusterCreateResponse) Marshal

func (m *ClusterCreateResponse) Marshal() (dAtA []byte, err error)

func (*ClusterCreateResponse) MarshalTo

func (m *ClusterCreateResponse) MarshalTo(dAtA []byte) (int, error)

func (*ClusterCreateResponse) MarshalToSizedBuffer

func (m *ClusterCreateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ClusterCreateResponse) ProtoMessage

func (*ClusterCreateResponse) ProtoMessage()

func (*ClusterCreateResponse) Reset

func (m *ClusterCreateResponse) Reset()

func (*ClusterCreateResponse) Size

func (m *ClusterCreateResponse) Size() (n int)

func (*ClusterCreateResponse) String

func (m *ClusterCreateResponse) String() string

func (*ClusterCreateResponse) Unmarshal

func (m *ClusterCreateResponse) Unmarshal(dAtA []byte) error

func (*ClusterCreateResponse) XXX_DiscardUnknown

func (m *ClusterCreateResponse) XXX_DiscardUnknown()

func (*ClusterCreateResponse) XXX_Marshal

func (m *ClusterCreateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClusterCreateResponse) XXX_Merge

func (m *ClusterCreateResponse) XXX_Merge(src proto.Message)

func (*ClusterCreateResponse) XXX_Size

func (m *ClusterCreateResponse) XXX_Size() int

func (*ClusterCreateResponse) XXX_Unmarshal

func (m *ClusterCreateResponse) XXX_Unmarshal(b []byte) error

type ClusterDeleteRequest

type ClusterDeleteRequest struct {
	OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
	Name  string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// delete_backups indicates whether the backup related to cluster need to
	// be deleted or retained.
	DeleteBackups bool `protobuf:"varint,3,opt,name=delete_backups,json=deleteBackups,proto3" json:"delete_backups,omitempty"`
	// delete_restores indicates whether the restore related to cluster  need to
	// be deleted or retained.
	DeleteRestores bool `protobuf:"varint,4,opt,name=delete_restores,json=deleteRestores,proto3" json:"delete_restores,omitempty"`
}

Define ClusterDeleteRequest struct

func NewPopulatedClusterDeleteRequest

func NewPopulatedClusterDeleteRequest(r randyApi, easy bool) *ClusterDeleteRequest

func (*ClusterDeleteRequest) Descriptor

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

func (*ClusterDeleteRequest) Equal

func (this *ClusterDeleteRequest) Equal(that interface{}) bool

func (*ClusterDeleteRequest) GetDeleteBackups

func (m *ClusterDeleteRequest) GetDeleteBackups() bool

func (*ClusterDeleteRequest) GetDeleteRestores

func (m *ClusterDeleteRequest) GetDeleteRestores() bool

func (*ClusterDeleteRequest) GetName

func (m *ClusterDeleteRequest) GetName() string

func (*ClusterDeleteRequest) GetOrgId

func (m *ClusterDeleteRequest) GetOrgId() string

func (*ClusterDeleteRequest) Marshal

func (m *ClusterDeleteRequest) Marshal() (dAtA []byte, err error)

func (*ClusterDeleteRequest) MarshalTo

func (m *ClusterDeleteRequest) MarshalTo(dAtA []byte) (int, error)

func (*ClusterDeleteRequest) MarshalToSizedBuffer

func (m *ClusterDeleteRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ClusterDeleteRequest) ProtoMessage

func (*ClusterDeleteRequest) ProtoMessage()

func (*ClusterDeleteRequest) Reset

func (m *ClusterDeleteRequest) Reset()

func (*ClusterDeleteRequest) Size

func (m *ClusterDeleteRequest) Size() (n int)

func (*ClusterDeleteRequest) String

func (m *ClusterDeleteRequest) String() string

func (*ClusterDeleteRequest) Unmarshal

func (m *ClusterDeleteRequest) Unmarshal(dAtA []byte) error

func (*ClusterDeleteRequest) XXX_DiscardUnknown

func (m *ClusterDeleteRequest) XXX_DiscardUnknown()

func (*ClusterDeleteRequest) XXX_Marshal

func (m *ClusterDeleteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClusterDeleteRequest) XXX_Merge

func (m *ClusterDeleteRequest) XXX_Merge(src proto.Message)

func (*ClusterDeleteRequest) XXX_Size

func (m *ClusterDeleteRequest) XXX_Size() int

func (*ClusterDeleteRequest) XXX_Unmarshal

func (m *ClusterDeleteRequest) XXX_Unmarshal(b []byte) error

type ClusterDeleteResponse

type ClusterDeleteResponse struct {
}

Define ClusterInspectResponse struct

func NewPopulatedClusterDeleteResponse

func NewPopulatedClusterDeleteResponse(r randyApi, easy bool) *ClusterDeleteResponse

func (*ClusterDeleteResponse) Descriptor

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

func (*ClusterDeleteResponse) Equal

func (this *ClusterDeleteResponse) Equal(that interface{}) bool

func (*ClusterDeleteResponse) Marshal

func (m *ClusterDeleteResponse) Marshal() (dAtA []byte, err error)

func (*ClusterDeleteResponse) MarshalTo

func (m *ClusterDeleteResponse) MarshalTo(dAtA []byte) (int, error)

func (*ClusterDeleteResponse) MarshalToSizedBuffer

func (m *ClusterDeleteResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ClusterDeleteResponse) ProtoMessage

func (*ClusterDeleteResponse) ProtoMessage()

func (*ClusterDeleteResponse) Reset

func (m *ClusterDeleteResponse) Reset()

func (*ClusterDeleteResponse) Size

func (m *ClusterDeleteResponse) Size() (n int)

func (*ClusterDeleteResponse) String

func (m *ClusterDeleteResponse) String() string

func (*ClusterDeleteResponse) Unmarshal

func (m *ClusterDeleteResponse) Unmarshal(dAtA []byte) error

func (*ClusterDeleteResponse) XXX_DiscardUnknown

func (m *ClusterDeleteResponse) XXX_DiscardUnknown()

func (*ClusterDeleteResponse) XXX_Marshal

func (m *ClusterDeleteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClusterDeleteResponse) XXX_Merge

func (m *ClusterDeleteResponse) XXX_Merge(src proto.Message)

func (*ClusterDeleteResponse) XXX_Size

func (m *ClusterDeleteResponse) XXX_Size() int

func (*ClusterDeleteResponse) XXX_Unmarshal

func (m *ClusterDeleteResponse) XXX_Unmarshal(b []byte) error

type ClusterEnumerateRequest

type ClusterEnumerateRequest struct {
	OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
	// label selectors for the object for filtering
	Labels         map[string]string `` /* 153-byte string literal not displayed */
	IncludeSecrets bool              `protobuf:"varint,3,opt,name=include_secrets,json=includeSecrets,proto3" json:"include_secrets,omitempty"`
	// cloud credential name.
	// Enumerate will return list of cluster that
	// uses this cloud credential
	// cloud_credential is deprecated, not to be used.
	CloudCredential    string     `protobuf:"bytes,4,opt,name=cloud_credential,json=cloudCredential,proto3" json:"cloud_credential,omitempty"`
	CloudCredentialRef *ObjectRef `protobuf:"bytes,5,opt,name=cloud_credential_ref,json=cloudCredentialRef,proto3" json:"cloud_credential_ref,omitempty"`
}

Define ClusterEnumerateRequest struct

func NewPopulatedClusterEnumerateRequest

func NewPopulatedClusterEnumerateRequest(r randyApi, easy bool) *ClusterEnumerateRequest

func (*ClusterEnumerateRequest) Descriptor

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

func (*ClusterEnumerateRequest) Equal

func (this *ClusterEnumerateRequest) Equal(that interface{}) bool

func (*ClusterEnumerateRequest) GetCloudCredential added in v1.2.1

func (m *ClusterEnumerateRequest) GetCloudCredential() string

func (*ClusterEnumerateRequest) GetCloudCredentialRef added in v1.2.1

func (m *ClusterEnumerateRequest) GetCloudCredentialRef() *ObjectRef

func (*ClusterEnumerateRequest) GetIncludeSecrets

func (m *ClusterEnumerateRequest) GetIncludeSecrets() bool

func (*ClusterEnumerateRequest) GetLabels

func (m *ClusterEnumerateRequest) GetLabels() map[string]string

func (*ClusterEnumerateRequest) GetOrgId

func (m *ClusterEnumerateRequest) GetOrgId() string

func (*ClusterEnumerateRequest) Marshal

func (m *ClusterEnumerateRequest) Marshal() (dAtA []byte, err error)

func (*ClusterEnumerateRequest) MarshalTo

func (m *ClusterEnumerateRequest) MarshalTo(dAtA []byte) (int, error)

func (*ClusterEnumerateRequest) MarshalToSizedBuffer

func (m *ClusterEnumerateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ClusterEnumerateRequest) ProtoMessage

func (*ClusterEnumerateRequest) ProtoMessage()

func (*ClusterEnumerateRequest) Reset

func (m *ClusterEnumerateRequest) Reset()

func (*ClusterEnumerateRequest) Size

func (m *ClusterEnumerateRequest) Size() (n int)

func (*ClusterEnumerateRequest) String

func (m *ClusterEnumerateRequest) String() string

func (*ClusterEnumerateRequest) Unmarshal

func (m *ClusterEnumerateRequest) Unmarshal(dAtA []byte) error

func (*ClusterEnumerateRequest) XXX_DiscardUnknown

func (m *ClusterEnumerateRequest) XXX_DiscardUnknown()

func (*ClusterEnumerateRequest) XXX_Marshal

func (m *ClusterEnumerateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClusterEnumerateRequest) XXX_Merge

func (m *ClusterEnumerateRequest) XXX_Merge(src proto.Message)

func (*ClusterEnumerateRequest) XXX_Size

func (m *ClusterEnumerateRequest) XXX_Size() int

func (*ClusterEnumerateRequest) XXX_Unmarshal

func (m *ClusterEnumerateRequest) XXX_Unmarshal(b []byte) error

type ClusterEnumerateResponse

type ClusterEnumerateResponse struct {
	Clusters []*ClusterObject `protobuf:"bytes,1,rep,name=clusters,proto3" json:"clusters,omitempty"`
}

Define ClusterEnumerateResponse struct

func NewPopulatedClusterEnumerateResponse

func NewPopulatedClusterEnumerateResponse(r randyApi, easy bool) *ClusterEnumerateResponse

func (*ClusterEnumerateResponse) Descriptor

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

func (*ClusterEnumerateResponse) Equal

func (this *ClusterEnumerateResponse) Equal(that interface{}) bool

func (*ClusterEnumerateResponse) GetClusters

func (m *ClusterEnumerateResponse) GetClusters() []*ClusterObject

func (*ClusterEnumerateResponse) Marshal

func (m *ClusterEnumerateResponse) Marshal() (dAtA []byte, err error)

func (*ClusterEnumerateResponse) MarshalTo

func (m *ClusterEnumerateResponse) MarshalTo(dAtA []byte) (int, error)

func (*ClusterEnumerateResponse) MarshalToSizedBuffer

func (m *ClusterEnumerateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ClusterEnumerateResponse) ProtoMessage

func (*ClusterEnumerateResponse) ProtoMessage()

func (*ClusterEnumerateResponse) Reset

func (m *ClusterEnumerateResponse) Reset()

func (*ClusterEnumerateResponse) Size

func (m *ClusterEnumerateResponse) Size() (n int)

func (*ClusterEnumerateResponse) String

func (m *ClusterEnumerateResponse) String() string

func (*ClusterEnumerateResponse) Unmarshal

func (m *ClusterEnumerateResponse) Unmarshal(dAtA []byte) error

func (*ClusterEnumerateResponse) XXX_DiscardUnknown

func (m *ClusterEnumerateResponse) XXX_DiscardUnknown()

func (*ClusterEnumerateResponse) XXX_Marshal

func (m *ClusterEnumerateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClusterEnumerateResponse) XXX_Merge

func (m *ClusterEnumerateResponse) XXX_Merge(src proto.Message)

func (*ClusterEnumerateResponse) XXX_Size

func (m *ClusterEnumerateResponse) XXX_Size() int

func (*ClusterEnumerateResponse) XXX_Unmarshal

func (m *ClusterEnumerateResponse) XXX_Unmarshal(b []byte) error

type ClusterInfo

type ClusterInfo struct {
	PxConfig   *PXConfig `protobuf:"bytes,1,opt,name=px_config,json=pxConfig,proto3" json:"pxconfig"`
	Kubeconfig string    `protobuf:"bytes,2,opt,name=kubeconfig,proto3" json:"kubeconfig" secure:"true"`
	// cloud_credential is deprecated, not to be used.
	CloudCredential string                  `protobuf:"bytes,3,opt,name=cloud_credential,json=cloudCredential,proto3" json:"cloud_credential,omitempty"`
	Status          *ClusterInfo_StatusInfo `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"`
	// delete_backups will determine whether the backups
	// belong to given cluster needs to be deleted or not.
	DeleteBackups bool `protobuf:"varint,5,opt,name=delete_backups,json=deleteBackups,proto3" json:"delete_backups,omitempty"`
	// delete_restores will determine whether the restore
	// belong to given cluster needs to be deleted or not.
	DeleteRestores     bool       `protobuf:"varint,6,opt,name=delete_restores,json=deleteRestores,proto3" json:"delete_restores,omitempty"`
	StorkVersion       string     `protobuf:"bytes,7,opt,name=stork_version,json=storkVersion,proto3" json:"stork_version,omitempty"`
	CloudCredentialRef *ObjectRef `protobuf:"bytes,8,opt,name=cloud_credential_ref,json=cloudCredentialRef,proto3" json:"cloud_credential_ref,omitempty"`
}

func NewPopulatedClusterInfo

func NewPopulatedClusterInfo(r randyApi, easy bool) *ClusterInfo

func (*ClusterInfo) Descriptor

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

func (*ClusterInfo) Equal

func (this *ClusterInfo) Equal(that interface{}) bool

func (*ClusterInfo) GetCloudCredential

func (m *ClusterInfo) GetCloudCredential() string

func (*ClusterInfo) GetCloudCredentialRef added in v1.2.1

func (m *ClusterInfo) GetCloudCredentialRef() *ObjectRef

func (*ClusterInfo) GetDeleteBackups

func (m *ClusterInfo) GetDeleteBackups() bool

func (*ClusterInfo) GetDeleteRestores

func (m *ClusterInfo) GetDeleteRestores() bool

func (*ClusterInfo) GetKubeconfig

func (m *ClusterInfo) GetKubeconfig() string

func (*ClusterInfo) GetPxConfig

func (m *ClusterInfo) GetPxConfig() *PXConfig

func (*ClusterInfo) GetStatus

func (m *ClusterInfo) GetStatus() *ClusterInfo_StatusInfo

func (*ClusterInfo) GetStorkVersion added in v1.2.1

func (m *ClusterInfo) GetStorkVersion() string

func (*ClusterInfo) Marshal

func (m *ClusterInfo) Marshal() (dAtA []byte, err error)

func (*ClusterInfo) MarshalTo

func (m *ClusterInfo) MarshalTo(dAtA []byte) (int, error)

func (*ClusterInfo) MarshalToSizedBuffer

func (m *ClusterInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ClusterInfo) ProtoMessage

func (*ClusterInfo) ProtoMessage()

func (*ClusterInfo) Reset

func (m *ClusterInfo) Reset()

func (*ClusterInfo) Size

func (m *ClusterInfo) Size() (n int)

func (*ClusterInfo) String

func (m *ClusterInfo) String() string

func (*ClusterInfo) Unmarshal

func (m *ClusterInfo) Unmarshal(dAtA []byte) error

func (*ClusterInfo) XXX_DiscardUnknown

func (m *ClusterInfo) XXX_DiscardUnknown()

func (*ClusterInfo) XXX_Marshal

func (m *ClusterInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClusterInfo) XXX_Merge

func (m *ClusterInfo) XXX_Merge(src proto.Message)

func (*ClusterInfo) XXX_Size

func (m *ClusterInfo) XXX_Size() int

func (*ClusterInfo) XXX_Unmarshal

func (m *ClusterInfo) XXX_Unmarshal(b []byte) error

type ClusterInfo_StatusInfo

type ClusterInfo_StatusInfo struct {
	Status ClusterInfo_StatusInfo_Status `protobuf:"varint,1,opt,name=status,proto3,enum=ClusterInfo_StatusInfo_Status" json:"status,omitempty"`
	Reason string                        `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"`
}

Message for maintaining status of the cluster.

func NewPopulatedClusterInfo_StatusInfo

func NewPopulatedClusterInfo_StatusInfo(r randyApi, easy bool) *ClusterInfo_StatusInfo

func (*ClusterInfo_StatusInfo) Descriptor

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

func (*ClusterInfo_StatusInfo) Equal

func (this *ClusterInfo_StatusInfo) Equal(that interface{}) bool

func (*ClusterInfo_StatusInfo) GetReason

func (m *ClusterInfo_StatusInfo) GetReason() string

func (*ClusterInfo_StatusInfo) GetStatus

func (*ClusterInfo_StatusInfo) Marshal

func (m *ClusterInfo_StatusInfo) Marshal() (dAtA []byte, err error)

func (*ClusterInfo_StatusInfo) MarshalTo

func (m *ClusterInfo_StatusInfo) MarshalTo(dAtA []byte) (int, error)

func (*ClusterInfo_StatusInfo) MarshalToSizedBuffer

func (m *ClusterInfo_StatusInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ClusterInfo_StatusInfo) ProtoMessage

func (*ClusterInfo_StatusInfo) ProtoMessage()

func (*ClusterInfo_StatusInfo) Reset

func (m *ClusterInfo_StatusInfo) Reset()

func (*ClusterInfo_StatusInfo) Size

func (m *ClusterInfo_StatusInfo) Size() (n int)

func (*ClusterInfo_StatusInfo) String

func (m *ClusterInfo_StatusInfo) String() string

func (*ClusterInfo_StatusInfo) Unmarshal

func (m *ClusterInfo_StatusInfo) Unmarshal(dAtA []byte) error

func (*ClusterInfo_StatusInfo) XXX_DiscardUnknown

func (m *ClusterInfo_StatusInfo) XXX_DiscardUnknown()

func (*ClusterInfo_StatusInfo) XXX_Marshal

func (m *ClusterInfo_StatusInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClusterInfo_StatusInfo) XXX_Merge

func (m *ClusterInfo_StatusInfo) XXX_Merge(src proto.Message)

func (*ClusterInfo_StatusInfo) XXX_Size

func (m *ClusterInfo_StatusInfo) XXX_Size() int

func (*ClusterInfo_StatusInfo) XXX_Unmarshal

func (m *ClusterInfo_StatusInfo) XXX_Unmarshal(b []byte) error

type ClusterInfo_StatusInfo_Status

type ClusterInfo_StatusInfo_Status int32
const (
	ClusterInfo_StatusInfo_Invalid       ClusterInfo_StatusInfo_Status = 0
	ClusterInfo_StatusInfo_Online        ClusterInfo_StatusInfo_Status = 1
	ClusterInfo_StatusInfo_Offline       ClusterInfo_StatusInfo_Status = 2
	ClusterInfo_StatusInfo_DeletePending ClusterInfo_StatusInfo_Status = 3
)

func (ClusterInfo_StatusInfo_Status) EnumDescriptor

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

func (ClusterInfo_StatusInfo_Status) String

type ClusterInspectRequest

type ClusterInspectRequest struct {
	OrgId          string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
	Name           string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	IncludeSecrets bool   `protobuf:"varint,3,opt,name=include_secrets,json=includeSecrets,proto3" json:"include_secrets,omitempty"`
}

Define ClusterInspectRequest struct

func NewPopulatedClusterInspectRequest

func NewPopulatedClusterInspectRequest(r randyApi, easy bool) *ClusterInspectRequest

func (*ClusterInspectRequest) Descriptor

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

func (*ClusterInspectRequest) Equal

func (this *ClusterInspectRequest) Equal(that interface{}) bool

func (*ClusterInspectRequest) GetIncludeSecrets

func (m *ClusterInspectRequest) GetIncludeSecrets() bool

func (*ClusterInspectRequest) GetName

func (m *ClusterInspectRequest) GetName() string

func (*ClusterInspectRequest) GetOrgId

func (m *ClusterInspectRequest) GetOrgId() string

func (*ClusterInspectRequest) Marshal

func (m *ClusterInspectRequest) Marshal() (dAtA []byte, err error)

func (*ClusterInspectRequest) MarshalTo

func (m *ClusterInspectRequest) MarshalTo(dAtA []byte) (int, error)

func (*ClusterInspectRequest) MarshalToSizedBuffer

func (m *ClusterInspectRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ClusterInspectRequest) ProtoMessage

func (*ClusterInspectRequest) ProtoMessage()

func (*ClusterInspectRequest) Reset

func (m *ClusterInspectRequest) Reset()

func (*ClusterInspectRequest) Size

func (m *ClusterInspectRequest) Size() (n int)

func (*ClusterInspectRequest) String

func (m *ClusterInspectRequest) String() string

func (*ClusterInspectRequest) Unmarshal

func (m *ClusterInspectRequest) Unmarshal(dAtA []byte) error

func (*ClusterInspectRequest) XXX_DiscardUnknown

func (m *ClusterInspectRequest) XXX_DiscardUnknown()

func (*ClusterInspectRequest) XXX_Marshal

func (m *ClusterInspectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClusterInspectRequest) XXX_Merge

func (m *ClusterInspectRequest) XXX_Merge(src proto.Message)

func (*ClusterInspectRequest) XXX_Size

func (m *ClusterInspectRequest) XXX_Size() int

func (*ClusterInspectRequest) XXX_Unmarshal

func (m *ClusterInspectRequest) XXX_Unmarshal(b []byte) error

type ClusterInspectResponse

type ClusterInspectResponse struct {
	Cluster *ClusterObject `protobuf:"bytes,1,opt,name=cluster,proto3" json:"cluster,omitempty"`
}

Define ClusterInspectResponse struct

func NewPopulatedClusterInspectResponse

func NewPopulatedClusterInspectResponse(r randyApi, easy bool) *ClusterInspectResponse

func (*ClusterInspectResponse) Descriptor

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

func (*ClusterInspectResponse) Equal

func (this *ClusterInspectResponse) Equal(that interface{}) bool

func (*ClusterInspectResponse) GetCluster

func (m *ClusterInspectResponse) GetCluster() *ClusterObject

func (*ClusterInspectResponse) Marshal

func (m *ClusterInspectResponse) Marshal() (dAtA []byte, err error)

func (*ClusterInspectResponse) MarshalTo

func (m *ClusterInspectResponse) MarshalTo(dAtA []byte) (int, error)

func (*ClusterInspectResponse) MarshalToSizedBuffer

func (m *ClusterInspectResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ClusterInspectResponse) ProtoMessage

func (*ClusterInspectResponse) ProtoMessage()

func (*ClusterInspectResponse) Reset

func (m *ClusterInspectResponse) Reset()

func (*ClusterInspectResponse) Size

func (m *ClusterInspectResponse) Size() (n int)

func (*ClusterInspectResponse) String

func (m *ClusterInspectResponse) String() string

func (*ClusterInspectResponse) Unmarshal

func (m *ClusterInspectResponse) Unmarshal(dAtA []byte) error

func (*ClusterInspectResponse) XXX_DiscardUnknown

func (m *ClusterInspectResponse) XXX_DiscardUnknown()

func (*ClusterInspectResponse) XXX_Marshal

func (m *ClusterInspectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClusterInspectResponse) XXX_Merge

func (m *ClusterInspectResponse) XXX_Merge(src proto.Message)

func (*ClusterInspectResponse) XXX_Size

func (m *ClusterInspectResponse) XXX_Size() int

func (*ClusterInspectResponse) XXX_Unmarshal

func (m *ClusterInspectResponse) XXX_Unmarshal(b []byte) error

type ClusterObject

type ClusterObject struct {
	*Metadata    `protobuf:"bytes,1,opt,name=metadata,proto3,embedded=metadata" json:"metadata,omitempty"`
	*ClusterInfo `protobuf:"bytes,2,opt,name=clusterInfo,proto3,embedded=clusterInfo" json:"clusterinfo"`
}

func NewPopulatedClusterObject

func NewPopulatedClusterObject(r randyApi, easy bool) *ClusterObject

func (*ClusterObject) Descriptor

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

func (*ClusterObject) Equal

func (this *ClusterObject) Equal(that interface{}) bool

func (*ClusterObject) Marshal

func (m *ClusterObject) Marshal() (dAtA []byte, err error)

func (*ClusterObject) MarshalTo

func (m *ClusterObject) MarshalTo(dAtA []byte) (int, error)

func (*ClusterObject) MarshalToSizedBuffer

func (m *ClusterObject) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ClusterObject) ProtoMessage

func (*ClusterObject) ProtoMessage()

func (*ClusterObject) Reset

func (m *ClusterObject) Reset()

func (*ClusterObject) Size

func (m *ClusterObject) Size() (n int)

func (*ClusterObject) String

func (m *ClusterObject) String() string

func (*ClusterObject) Unmarshal

func (m *ClusterObject) Unmarshal(dAtA []byte) error

func (*ClusterObject) XXX_DiscardUnknown

func (m *ClusterObject) XXX_DiscardUnknown()

func (*ClusterObject) XXX_Marshal

func (m *ClusterObject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClusterObject) XXX_Merge

func (m *ClusterObject) XXX_Merge(src proto.Message)

func (*ClusterObject) XXX_Size

func (m *ClusterObject) XXX_Size() int

func (*ClusterObject) XXX_Unmarshal

func (m *ClusterObject) XXX_Unmarshal(b []byte) error

type ClusterServer

type ClusterServer interface {
	// Create creates a new cluster
	Create(context.Context, *ClusterCreateRequest) (*ClusterCreateResponse, error)
	// Update given cluster details
	Update(context.Context, *ClusterUpdateRequest) (*ClusterUpdateResponse, error)
	// Enumerate returns a list of clusters
	Enumerate(context.Context, *ClusterEnumerateRequest) (*ClusterEnumerateResponse, error)
	// Inspect returns detail information about a specified cluster
	Inspect(context.Context, *ClusterInspectRequest) (*ClusterInspectResponse, error)
	// Delete removes a cluster
	Delete(context.Context, *ClusterDeleteRequest) (*ClusterDeleteResponse, error)
}

ClusterServer is the server API for Cluster service.

type ClusterUpdateRequest

type ClusterUpdateRequest struct {
	*CreateMetadata `protobuf:"bytes,1,opt,name=metadata,proto3,embedded=metadata" json:"metadata,omitempty"`
	PxConfig        *PXConfig `protobuf:"bytes,2,opt,name=px_config,json=pxConfig,proto3" json:"pxconfig"`
	Kubeconfig      string    `protobuf:"bytes,3,opt,name=kubeconfig,proto3" json:"kubeconfig" secure:"true"`
	// cloud_credential is deprecated, not to be used.
	CloudCredential    string     `protobuf:"bytes,4,opt,name=cloud_credential,json=cloudCredential,proto3" json:"cloud_credential,omitempty"`
	CloudCredentialRef *ObjectRef `protobuf:"bytes,5,opt,name=cloud_credential_ref,json=cloudCredentialRef,proto3" json:"cloud_credential_ref,omitempty"`
}

Define ClusterUpdateRequest struct

func NewPopulatedClusterUpdateRequest

func NewPopulatedClusterUpdateRequest(r randyApi, easy bool) *ClusterUpdateRequest

func (*ClusterUpdateRequest) Descriptor

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

func (*ClusterUpdateRequest) Equal

func (this *ClusterUpdateRequest) Equal(that interface{}) bool

func (*ClusterUpdateRequest) GetCloudCredential

func (m *ClusterUpdateRequest) GetCloudCredential() string

func (*ClusterUpdateRequest) GetCloudCredentialRef added in v1.2.1

func (m *ClusterUpdateRequest) GetCloudCredentialRef() *ObjectRef

func (*ClusterUpdateRequest) GetKubeconfig

func (m *ClusterUpdateRequest) GetKubeconfig() string

func (*ClusterUpdateRequest) GetPxConfig

func (m *ClusterUpdateRequest) GetPxConfig() *PXConfig

func (*ClusterUpdateRequest) Marshal

func (m *ClusterUpdateRequest) Marshal() (dAtA []byte, err error)

func (*ClusterUpdateRequest) MarshalTo

func (m *ClusterUpdateRequest) MarshalTo(dAtA []byte) (int, error)

func (*ClusterUpdateRequest) MarshalToSizedBuffer

func (m *ClusterUpdateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ClusterUpdateRequest) ProtoMessage

func (*ClusterUpdateRequest) ProtoMessage()

func (*ClusterUpdateRequest) Reset

func (m *ClusterUpdateRequest) Reset()

func (*ClusterUpdateRequest) Size

func (m *ClusterUpdateRequest) Size() (n int)

func (*ClusterUpdateRequest) String

func (m *ClusterUpdateRequest) String() string

func (*ClusterUpdateRequest) Unmarshal

func (m *ClusterUpdateRequest) Unmarshal(dAtA []byte) error

func (*ClusterUpdateRequest) XXX_DiscardUnknown

func (m *ClusterUpdateRequest) XXX_DiscardUnknown()

func (*ClusterUpdateRequest) XXX_Marshal

func (m *ClusterUpdateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClusterUpdateRequest) XXX_Merge

func (m *ClusterUpdateRequest) XXX_Merge(src proto.Message)

func (*ClusterUpdateRequest) XXX_Size

func (m *ClusterUpdateRequest) XXX_Size() int

func (*ClusterUpdateRequest) XXX_Unmarshal

func (m *ClusterUpdateRequest) XXX_Unmarshal(b []byte) error

type ClusterUpdateResponse

type ClusterUpdateResponse struct {
}

Define ClusterUpdateResponse struct

func NewPopulatedClusterUpdateResponse

func NewPopulatedClusterUpdateResponse(r randyApi, easy bool) *ClusterUpdateResponse

func (*ClusterUpdateResponse) Descriptor

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

func (*ClusterUpdateResponse) Equal

func (this *ClusterUpdateResponse) Equal(that interface{}) bool

func (*ClusterUpdateResponse) Marshal

func (m *ClusterUpdateResponse) Marshal() (dAtA []byte, err error)

func (*ClusterUpdateResponse) MarshalTo

func (m *ClusterUpdateResponse) MarshalTo(dAtA []byte) (int, error)

func (*ClusterUpdateResponse) MarshalToSizedBuffer

func (m *ClusterUpdateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ClusterUpdateResponse) ProtoMessage

func (*ClusterUpdateResponse) ProtoMessage()

func (*ClusterUpdateResponse) Reset

func (m *ClusterUpdateResponse) Reset()

func (*ClusterUpdateResponse) Size

func (m *ClusterUpdateResponse) Size() (n int)

func (*ClusterUpdateResponse) String

func (m *ClusterUpdateResponse) String() string

func (*ClusterUpdateResponse) Unmarshal

func (m *ClusterUpdateResponse) Unmarshal(dAtA []byte) error

func (*ClusterUpdateResponse) XXX_DiscardUnknown

func (m *ClusterUpdateResponse) XXX_DiscardUnknown()

func (*ClusterUpdateResponse) XXX_Marshal

func (m *ClusterUpdateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClusterUpdateResponse) XXX_Merge

func (m *ClusterUpdateResponse) XXX_Merge(src proto.Message)

func (*ClusterUpdateResponse) XXX_Size

func (m *ClusterUpdateResponse) XXX_Size() int

func (*ClusterUpdateResponse) XXX_Unmarshal

func (m *ClusterUpdateResponse) XXX_Unmarshal(b []byte) error

type CreateMetadata

type CreateMetadata struct {
	// name of the object
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// org id of the object
	OrgId string `protobuf:"bytes,2,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
	// owner of the object. This field is deprecated, not to be used
	Owner string `protobuf:"bytes,3,opt,name=owner,proto3" json:"owner,omitempty"`
	// labels associated with the object
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// ownership of the object
	Ownership *Ownership `protobuf:"bytes,5,opt,name=ownership,proto3" json:"ownership,omitempty"`
	// uid of the object
	Uid string `protobuf:"bytes,6,opt,name=uid,proto3" json:"uid,omitempty"`
}

func NewPopulatedCreateMetadata

func NewPopulatedCreateMetadata(r randyCommon, easy bool) *CreateMetadata

func (*CreateMetadata) Descriptor

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

func (*CreateMetadata) Equal

func (this *CreateMetadata) Equal(that interface{}) bool

func (*CreateMetadata) GetLabels

func (m *CreateMetadata) GetLabels() map[string]string

func (*CreateMetadata) GetName

func (m *CreateMetadata) GetName() string

func (*CreateMetadata) GetOrgId

func (m *CreateMetadata) GetOrgId() string

func (*CreateMetadata) GetOwner

func (m *CreateMetadata) GetOwner() string

func (*CreateMetadata) GetOwnership added in v1.2.1

func (m *CreateMetadata) GetOwnership() *Ownership

func (*CreateMetadata) GetUid added in v1.2.1

func (m *CreateMetadata) GetUid() string

func (*CreateMetadata) Marshal

func (m *CreateMetadata) Marshal() (dAtA []byte, err error)

func (*CreateMetadata) MarshalTo

func (m *CreateMetadata) MarshalTo(dAtA []byte) (int, error)

func (*CreateMetadata) MarshalToSizedBuffer

func (m *CreateMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CreateMetadata) ProtoMessage

func (*CreateMetadata) ProtoMessage()

func (*CreateMetadata) Reset

func (m *CreateMetadata) Reset()

func (*CreateMetadata) Size

func (m *CreateMetadata) Size() (n int)

func (*CreateMetadata) String

func (m *CreateMetadata) String() string

func (*CreateMetadata) Unmarshal

func (m *CreateMetadata) Unmarshal(dAtA []byte) error

func (*CreateMetadata) XXX_DiscardUnknown

func (m *CreateMetadata) XXX_DiscardUnknown()

func (*CreateMetadata) XXX_Marshal

func (m *CreateMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateMetadata) XXX_Merge

func (m *CreateMetadata) XXX_Merge(src proto.Message)

func (*CreateMetadata) XXX_Size

func (m *CreateMetadata) XXX_Size() int

func (*CreateMetadata) XXX_Unmarshal

func (m *CreateMetadata) XXX_Unmarshal(b []byte) error

type EnumerateOptions

type EnumerateOptions struct {
	// label selectors for the object for filtering
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// max objects to fetch
	MaxObjects uint64 `protobuf:"varint,2,opt,name=max_objects,json=maxObjects,proto3" json:"max_objects,omitempty"`
	// Time range for which to return objects
	TimeRange *TimeRange `protobuf:"bytes,3,opt,name=time_range,json=timeRange,proto3" json:"time_range,omitempty"`
	// Filter to use for name of objects. Any object that contains the filter
	// will be returned
	NameFilter string `protobuf:"bytes,4,opt,name=name_filter,json=nameFilter,proto3" json:"name_filter,omitempty"`
	// Filter to use for cluster name of objects. Any object that contains the
	// filter will be returned
	ClusterNameFilter string `protobuf:"bytes,5,opt,name=cluster_name_filter,json=clusterNameFilter,proto3" json:"cluster_name_filter,omitempty"`
	ObjectIndex       uint64 `protobuf:"varint,6,opt,name=object_index,json=objectIndex,proto3" json:"object_index,omitempty"`
	// Ths option will be set to true by the caller, when they want to have
	// complete backup object. That means the backupObject's
	// resource list will be set to complete list of resources.
	// If this option is set to false, resource list will be
	// set to nil and rest of the backupObject details will be returned in the
	// response.
	IncludeDetailedResources bool `` /* 136-byte string literal not displayed */
}

func NewPopulatedEnumerateOptions

func NewPopulatedEnumerateOptions(r randyApi, easy bool) *EnumerateOptions

func (*EnumerateOptions) Descriptor

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

func (*EnumerateOptions) Equal

func (this *EnumerateOptions) Equal(that interface{}) bool

func (*EnumerateOptions) GetClusterNameFilter

func (m *EnumerateOptions) GetClusterNameFilter() string

func (*EnumerateOptions) GetIncludeDetailedResources added in v1.2.1

func (m *EnumerateOptions) GetIncludeDetailedResources() bool

func (*EnumerateOptions) GetLabels

func (m *EnumerateOptions) GetLabels() map[string]string

func (*EnumerateOptions) GetMaxObjects

func (m *EnumerateOptions) GetMaxObjects() uint64

func (*EnumerateOptions) GetNameFilter

func (m *EnumerateOptions) GetNameFilter() string

func (*EnumerateOptions) GetObjectIndex

func (m *EnumerateOptions) GetObjectIndex() uint64

func (*EnumerateOptions) GetTimeRange

func (m *EnumerateOptions) GetTimeRange() *TimeRange

func (*EnumerateOptions) Marshal

func (m *EnumerateOptions) Marshal() (dAtA []byte, err error)

func (*EnumerateOptions) MarshalTo

func (m *EnumerateOptions) MarshalTo(dAtA []byte) (int, error)

func (*EnumerateOptions) MarshalToSizedBuffer

func (m *EnumerateOptions) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EnumerateOptions) ProtoMessage

func (*EnumerateOptions) ProtoMessage()

func (*EnumerateOptions) Reset

func (m *EnumerateOptions) Reset()

func (*EnumerateOptions) Size

func (m *EnumerateOptions) Size() (n int)

func (*EnumerateOptions) String

func (m *EnumerateOptions) String() string

func (*EnumerateOptions) Unmarshal

func (m *EnumerateOptions) Unmarshal(dAtA []byte) error

func (*EnumerateOptions) XXX_DiscardUnknown

func (m *EnumerateOptions) XXX_DiscardUnknown()

func (*EnumerateOptions) XXX_Marshal

func (m *EnumerateOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EnumerateOptions) XXX_Merge

func (m *EnumerateOptions) XXX_Merge(src proto.Message)

func (*EnumerateOptions) XXX_Size

func (m *EnumerateOptions) XXX_Size() int

func (*EnumerateOptions) XXX_Unmarshal

func (m *EnumerateOptions) XXX_Unmarshal(b []byte) error

type GoogleConfig

type GoogleConfig struct {
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	JsonKey   string `protobuf:"bytes,2,opt,name=json_key,json=jsonKey,proto3" json:"jsonkey" secure:"true"`
}

func NewPopulatedGoogleConfig

func NewPopulatedGoogleConfig(r randyApi, easy bool) *GoogleConfig

func (*GoogleConfig) Descriptor

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

func (*GoogleConfig) Equal

func (this *GoogleConfig) Equal(that interface{}) bool

func (*GoogleConfig) GetJsonKey

func (m *GoogleConfig) GetJsonKey() string

func (*GoogleConfig) GetProjectId

func (m *GoogleConfig) GetProjectId() string

func (*GoogleConfig) Marshal

func (m *GoogleConfig) Marshal() (dAtA []byte, err error)

func (*GoogleConfig) MarshalTo

func (m *GoogleConfig) MarshalTo(dAtA []byte) (int, error)

func (*GoogleConfig) MarshalToSizedBuffer

func (m *GoogleConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GoogleConfig) ProtoMessage

func (*GoogleConfig) ProtoMessage()

func (*GoogleConfig) Reset

func (m *GoogleConfig) Reset()

func (*GoogleConfig) Size

func (m *GoogleConfig) Size() (n int)

func (*GoogleConfig) String

func (m *GoogleConfig) String() string

func (*GoogleConfig) Unmarshal

func (m *GoogleConfig) Unmarshal(dAtA []byte) error

func (*GoogleConfig) XXX_DiscardUnknown

func (m *GoogleConfig) XXX_DiscardUnknown()

func (*GoogleConfig) XXX_Marshal

func (m *GoogleConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GoogleConfig) XXX_Merge

func (m *GoogleConfig) XXX_Merge(src proto.Message)

func (*GoogleConfig) XXX_Size

func (m *GoogleConfig) XXX_Size() int

func (*GoogleConfig) XXX_Unmarshal

func (m *GoogleConfig) XXX_Unmarshal(b []byte) error

type HealthClient

type HealthClient interface {
	// Status checks the health of the server
	Status(ctx context.Context, in *HealthStatusRequest, opts ...grpc.CallOption) (*HealthStatusResponse, error)
}

HealthClient is the client API for Health service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewHealthClient

func NewHealthClient(cc *grpc.ClientConn) HealthClient

type HealthServer

type HealthServer interface {
	// Status checks the health of the server
	Status(context.Context, *HealthStatusRequest) (*HealthStatusResponse, error)
}

HealthServer is the server API for Health service.

type HealthStatusRequest

type HealthStatusRequest struct {
}

func NewPopulatedHealthStatusRequest

func NewPopulatedHealthStatusRequest(r randyApi, easy bool) *HealthStatusRequest

func (*HealthStatusRequest) Descriptor

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

func (*HealthStatusRequest) Equal

func (this *HealthStatusRequest) Equal(that interface{}) bool

func (*HealthStatusRequest) Marshal

func (m *HealthStatusRequest) Marshal() (dAtA []byte, err error)

func (*HealthStatusRequest) MarshalTo

func (m *HealthStatusRequest) MarshalTo(dAtA []byte) (int, error)

func (*HealthStatusRequest) MarshalToSizedBuffer

func (m *HealthStatusRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*HealthStatusRequest) ProtoMessage

func (*HealthStatusRequest) ProtoMessage()

func (*HealthStatusRequest) Reset

func (m *HealthStatusRequest) Reset()

func (*HealthStatusRequest) Size

func (m *HealthStatusRequest) Size() (n int)

func (*HealthStatusRequest) String

func (m *HealthStatusRequest) String() string

func (*HealthStatusRequest) Unmarshal

func (m *HealthStatusRequest) Unmarshal(dAtA []byte) error

func (*HealthStatusRequest) XXX_DiscardUnknown

func (m *HealthStatusRequest) XXX_DiscardUnknown()

func (*HealthStatusRequest) XXX_Marshal

func (m *HealthStatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HealthStatusRequest) XXX_Merge

func (m *HealthStatusRequest) XXX_Merge(src proto.Message)

func (*HealthStatusRequest) XXX_Size

func (m *HealthStatusRequest) XXX_Size() int

func (*HealthStatusRequest) XXX_Unmarshal

func (m *HealthStatusRequest) XXX_Unmarshal(b []byte) error

type HealthStatusResponse

type HealthStatusResponse struct {
}

func NewPopulatedHealthStatusResponse

func NewPopulatedHealthStatusResponse(r randyApi, easy bool) *HealthStatusResponse

func (*HealthStatusResponse) Descriptor

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

func (*HealthStatusResponse) Equal

func (this *HealthStatusResponse) Equal(that interface{}) bool

func (*HealthStatusResponse) Marshal

func (m *HealthStatusResponse) Marshal() (dAtA []byte, err error)

func (*HealthStatusResponse) MarshalTo

func (m *HealthStatusResponse) MarshalTo(dAtA []byte) (int, error)

func (*HealthStatusResponse) MarshalToSizedBuffer

func (m *HealthStatusResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*HealthStatusResponse) ProtoMessage

func (*HealthStatusResponse) ProtoMessage()

func (*HealthStatusResponse) Reset

func (m *HealthStatusResponse) Reset()

func (*HealthStatusResponse) Size

func (m *HealthStatusResponse) Size() (n int)

func (*HealthStatusResponse) String

func (m *HealthStatusResponse) String() string

func (*HealthStatusResponse) Unmarshal

func (m *HealthStatusResponse) Unmarshal(dAtA []byte) error

func (*HealthStatusResponse) XXX_DiscardUnknown

func (m *HealthStatusResponse) XXX_DiscardUnknown()

func (*HealthStatusResponse) XXX_Marshal

func (m *HealthStatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HealthStatusResponse) XXX_Merge

func (m *HealthStatusResponse) XXX_Merge(src proto.Message)

func (*HealthStatusResponse) XXX_Size

func (m *HealthStatusResponse) XXX_Size() int

func (*HealthStatusResponse) XXX_Unmarshal

func (m *HealthStatusResponse) XXX_Unmarshal(b []byte) error

type IBMConfig added in v1.2.1

type IBMConfig struct {
	ApiKey string `protobuf:"bytes,1,opt,name=api_key,json=apiKey,proto3" json:"api_key" secure:"true"`
}

func NewPopulatedIBMConfig added in v1.2.1

func NewPopulatedIBMConfig(r randyApi, easy bool) *IBMConfig

func (*IBMConfig) Descriptor added in v1.2.1

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

func (*IBMConfig) Equal added in v1.2.1

func (this *IBMConfig) Equal(that interface{}) bool

func (*IBMConfig) GetApiKey added in v1.2.1

func (m *IBMConfig) GetApiKey() string

func (*IBMConfig) Marshal added in v1.2.1

func (m *IBMConfig) Marshal() (dAtA []byte, err error)

func (*IBMConfig) MarshalTo added in v1.2.1

func (m *IBMConfig) MarshalTo(dAtA []byte) (int, error)

func (*IBMConfig) MarshalToSizedBuffer added in v1.2.1

func (m *IBMConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*IBMConfig) ProtoMessage added in v1.2.1

func (*IBMConfig) ProtoMessage()

func (*IBMConfig) Reset added in v1.2.1

func (m *IBMConfig) Reset()

func (*IBMConfig) Size added in v1.2.1

func (m *IBMConfig) Size() (n int)

func (*IBMConfig) String added in v1.2.1

func (m *IBMConfig) String() string

func (*IBMConfig) Unmarshal added in v1.2.1

func (m *IBMConfig) Unmarshal(dAtA []byte) error

func (*IBMConfig) XXX_DiscardUnknown added in v1.2.1

func (m *IBMConfig) XXX_DiscardUnknown()

func (*IBMConfig) XXX_Marshal added in v1.2.1

func (m *IBMConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*IBMConfig) XXX_Merge added in v1.2.1

func (m *IBMConfig) XXX_Merge(src proto.Message)

func (*IBMConfig) XXX_Size added in v1.2.1

func (m *IBMConfig) XXX_Size() int

func (*IBMConfig) XXX_Unmarshal added in v1.2.1

func (m *IBMConfig) XXX_Unmarshal(b []byte) error

type LicenseActivateRequest

type LicenseActivateRequest struct {
	*CreateMetadata `protobuf:"bytes,1,opt,name=metadata,proto3,embedded=metadata" json:"metadata,omitempty"`
	// Types that are valid to be assigned to Activation:
	//	*LicenseActivateRequest_ActivationId
	//	*LicenseActivateRequest_LicenseData
	//	*LicenseActivateRequest_UsageBasedId
	Activation isLicenseActivateRequest_Activation `protobuf_oneof:"activation"`
}

func NewPopulatedLicenseActivateRequest

func NewPopulatedLicenseActivateRequest(r randyApi, easy bool) *LicenseActivateRequest

func (*LicenseActivateRequest) Descriptor

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

func (*LicenseActivateRequest) Equal

func (this *LicenseActivateRequest) Equal(that interface{}) bool

func (*LicenseActivateRequest) GetActivation

func (m *LicenseActivateRequest) GetActivation() isLicenseActivateRequest_Activation

func (*LicenseActivateRequest) GetActivationId

func (m *LicenseActivateRequest) GetActivationId() string

func (*LicenseActivateRequest) GetLicenseData

func (m *LicenseActivateRequest) GetLicenseData() []byte

func (*LicenseActivateRequest) GetUsageBasedId

func (m *LicenseActivateRequest) GetUsageBasedId() string

func (*LicenseActivateRequest) Marshal

func (m *LicenseActivateRequest) Marshal() (dAtA []byte, err error)

func (*LicenseActivateRequest) MarshalTo

func (m *LicenseActivateRequest) MarshalTo(dAtA []byte) (int, error)

func (*LicenseActivateRequest) MarshalToSizedBuffer

func (m *LicenseActivateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LicenseActivateRequest) ProtoMessage

func (*LicenseActivateRequest) ProtoMessage()

func (*LicenseActivateRequest) Reset

func (m *LicenseActivateRequest) Reset()

func (*LicenseActivateRequest) Size

func (m *LicenseActivateRequest) Size() (n int)

func (*LicenseActivateRequest) String

func (m *LicenseActivateRequest) String() string

func (*LicenseActivateRequest) Unmarshal

func (m *LicenseActivateRequest) Unmarshal(dAtA []byte) error

func (*LicenseActivateRequest) XXX_DiscardUnknown

func (m *LicenseActivateRequest) XXX_DiscardUnknown()

func (*LicenseActivateRequest) XXX_Marshal

func (m *LicenseActivateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LicenseActivateRequest) XXX_Merge

func (m *LicenseActivateRequest) XXX_Merge(src proto.Message)

func (*LicenseActivateRequest) XXX_OneofWrappers

func (*LicenseActivateRequest) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*LicenseActivateRequest) XXX_Size

func (m *LicenseActivateRequest) XXX_Size() int

func (*LicenseActivateRequest) XXX_Unmarshal

func (m *LicenseActivateRequest) XXX_Unmarshal(b []byte) error

type LicenseActivateRequest_ActivationId

type LicenseActivateRequest_ActivationId struct {
	ActivationId string `protobuf:"bytes,2,opt,name=activation_id,json=activationId,proto3,oneof" json:"activation_id,omitempty"`
}

func NewPopulatedLicenseActivateRequest_ActivationId

func NewPopulatedLicenseActivateRequest_ActivationId(r randyApi, easy bool) *LicenseActivateRequest_ActivationId

func (*LicenseActivateRequest_ActivationId) Equal

func (this *LicenseActivateRequest_ActivationId) Equal(that interface{}) bool

func (*LicenseActivateRequest_ActivationId) MarshalTo

func (m *LicenseActivateRequest_ActivationId) MarshalTo(dAtA []byte) (int, error)

func (*LicenseActivateRequest_ActivationId) MarshalToSizedBuffer

func (m *LicenseActivateRequest_ActivationId) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LicenseActivateRequest_ActivationId) Size

type LicenseActivateRequest_LicenseData

type LicenseActivateRequest_LicenseData struct {
	LicenseData []byte `protobuf:"bytes,3,opt,name=license_data,json=licenseData,proto3,oneof" json:"license_data,omitempty"`
}

func NewPopulatedLicenseActivateRequest_LicenseData

func NewPopulatedLicenseActivateRequest_LicenseData(r randyApi, easy bool) *LicenseActivateRequest_LicenseData

func (*LicenseActivateRequest_LicenseData) Equal

func (this *LicenseActivateRequest_LicenseData) Equal(that interface{}) bool

func (*LicenseActivateRequest_LicenseData) MarshalTo

func (m *LicenseActivateRequest_LicenseData) MarshalTo(dAtA []byte) (int, error)

func (*LicenseActivateRequest_LicenseData) MarshalToSizedBuffer

func (m *LicenseActivateRequest_LicenseData) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LicenseActivateRequest_LicenseData) Size

type LicenseActivateRequest_UsageBasedId

type LicenseActivateRequest_UsageBasedId struct {
	UsageBasedId string `protobuf:"bytes,4,opt,name=usage_based_id,json=usageBasedId,proto3,oneof" json:"usage_based_id,omitempty"`
}

func NewPopulatedLicenseActivateRequest_UsageBasedId

func NewPopulatedLicenseActivateRequest_UsageBasedId(r randyApi, easy bool) *LicenseActivateRequest_UsageBasedId

func (*LicenseActivateRequest_UsageBasedId) Equal

func (this *LicenseActivateRequest_UsageBasedId) Equal(that interface{}) bool

func (*LicenseActivateRequest_UsageBasedId) MarshalTo

func (m *LicenseActivateRequest_UsageBasedId) MarshalTo(dAtA []byte) (int, error)

func (*LicenseActivateRequest_UsageBasedId) MarshalToSizedBuffer

func (m *LicenseActivateRequest_UsageBasedId) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LicenseActivateRequest_UsageBasedId) Size

type LicenseActivateResponse

type LicenseActivateResponse struct {
}

func NewPopulatedLicenseActivateResponse

func NewPopulatedLicenseActivateResponse(r randyApi, easy bool) *LicenseActivateResponse

func (*LicenseActivateResponse) Descriptor

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

func (*LicenseActivateResponse) Equal

func (this *LicenseActivateResponse) Equal(that interface{}) bool

func (*LicenseActivateResponse) Marshal

func (m *LicenseActivateResponse) Marshal() (dAtA []byte, err error)

func (*LicenseActivateResponse) MarshalTo

func (m *LicenseActivateResponse) MarshalTo(dAtA []byte) (int, error)

func (*LicenseActivateResponse) MarshalToSizedBuffer

func (m *LicenseActivateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LicenseActivateResponse) ProtoMessage

func (*LicenseActivateResponse) ProtoMessage()

func (*LicenseActivateResponse) Reset

func (m *LicenseActivateResponse) Reset()

func (*LicenseActivateResponse) Size

func (m *LicenseActivateResponse) Size() (n int)

func (*LicenseActivateResponse) String

func (m *LicenseActivateResponse) String() string

func (*LicenseActivateResponse) Unmarshal

func (m *LicenseActivateResponse) Unmarshal(dAtA []byte) error

func (*LicenseActivateResponse) XXX_DiscardUnknown

func (m *LicenseActivateResponse) XXX_DiscardUnknown()

func (*LicenseActivateResponse) XXX_Marshal

func (m *LicenseActivateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LicenseActivateResponse) XXX_Merge

func (m *LicenseActivateResponse) XXX_Merge(src proto.Message)

func (*LicenseActivateResponse) XXX_Size

func (m *LicenseActivateResponse) XXX_Size() int

func (*LicenseActivateResponse) XXX_Unmarshal

func (m *LicenseActivateResponse) XXX_Unmarshal(b []byte) error

type LicenseClient

type LicenseClient interface {
	// Activate activate a new license
	Activate(ctx context.Context, in *LicenseActivateRequest, opts ...grpc.CallOption) (*LicenseActivateResponse, error)
	// Enumerate returns a list of license for given cluster
	Inspect(ctx context.Context, in *LicenseInspectRequest, opts ...grpc.CallOption) (*LicenseInspectResponse, error)
	// Update updates Usage Based activation ID
	Update(ctx context.Context, in *LicenseUpdateRequest, opts ...grpc.CallOption) (*LicenseUpdateResponse, error)
}

LicenseClient is the client API for License service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewLicenseClient

func NewLicenseClient(cc *grpc.ClientConn) LicenseClient

type LicenseInspectRequest

type LicenseInspectRequest struct {
	OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
}

func NewPopulatedLicenseInspectRequest

func NewPopulatedLicenseInspectRequest(r randyApi, easy bool) *LicenseInspectRequest

func (*LicenseInspectRequest) Descriptor

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

func (*LicenseInspectRequest) Equal

func (this *LicenseInspectRequest) Equal(that interface{}) bool

func (*LicenseInspectRequest) GetOrgId

func (m *LicenseInspectRequest) GetOrgId() string

func (*LicenseInspectRequest) Marshal

func (m *LicenseInspectRequest) Marshal() (dAtA []byte, err error)

func (*LicenseInspectRequest) MarshalTo

func (m *LicenseInspectRequest) MarshalTo(dAtA []byte) (int, error)

func (*LicenseInspectRequest) MarshalToSizedBuffer

func (m *LicenseInspectRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LicenseInspectRequest) ProtoMessage

func (*LicenseInspectRequest) ProtoMessage()

func (*LicenseInspectRequest) Reset

func (m *LicenseInspectRequest) Reset()

func (*LicenseInspectRequest) Size

func (m *LicenseInspectRequest) Size() (n int)

func (*LicenseInspectRequest) String

func (m *LicenseInspectRequest) String() string

func (*LicenseInspectRequest) Unmarshal

func (m *LicenseInspectRequest) Unmarshal(dAtA []byte) error

func (*LicenseInspectRequest) XXX_DiscardUnknown

func (m *LicenseInspectRequest) XXX_DiscardUnknown()

func (*LicenseInspectRequest) XXX_Marshal

func (m *LicenseInspectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LicenseInspectRequest) XXX_Merge

func (m *LicenseInspectRequest) XXX_Merge(src proto.Message)

func (*LicenseInspectRequest) XXX_Size

func (m *LicenseInspectRequest) XXX_Size() int

func (*LicenseInspectRequest) XXX_Unmarshal

func (m *LicenseInspectRequest) XXX_Unmarshal(b []byte) error

type LicenseInspectResponse

type LicenseInspectResponse struct {
	LicenseRespInfo *LicenseResponseInfo `protobuf:"bytes,1,opt,name=license_resp_info,json=licenseRespInfo,proto3" json:"license_resp_info,omitempty"`
}

func NewPopulatedLicenseInspectResponse

func NewPopulatedLicenseInspectResponse(r randyApi, easy bool) *LicenseInspectResponse

func (*LicenseInspectResponse) Descriptor

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

func (*LicenseInspectResponse) Equal

func (this *LicenseInspectResponse) Equal(that interface{}) bool

func (*LicenseInspectResponse) GetLicenseRespInfo

func (m *LicenseInspectResponse) GetLicenseRespInfo() *LicenseResponseInfo

func (*LicenseInspectResponse) Marshal

func (m *LicenseInspectResponse) Marshal() (dAtA []byte, err error)

func (*LicenseInspectResponse) MarshalTo

func (m *LicenseInspectResponse) MarshalTo(dAtA []byte) (int, error)

func (*LicenseInspectResponse) MarshalToSizedBuffer

func (m *LicenseInspectResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LicenseInspectResponse) ProtoMessage

func (*LicenseInspectResponse) ProtoMessage()

func (*LicenseInspectResponse) Reset

func (m *LicenseInspectResponse) Reset()

func (*LicenseInspectResponse) Size

func (m *LicenseInspectResponse) Size() (n int)

func (*LicenseInspectResponse) String

func (m *LicenseInspectResponse) String() string

func (*LicenseInspectResponse) Unmarshal

func (m *LicenseInspectResponse) Unmarshal(dAtA []byte) error

func (*LicenseInspectResponse) XXX_DiscardUnknown

func (m *LicenseInspectResponse) XXX_DiscardUnknown()

func (*LicenseInspectResponse) XXX_Marshal

func (m *LicenseInspectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LicenseInspectResponse) XXX_Merge

func (m *LicenseInspectResponse) XXX_Merge(src proto.Message)

func (*LicenseInspectResponse) XXX_Size

func (m *LicenseInspectResponse) XXX_Size() int

func (*LicenseInspectResponse) XXX_Unmarshal

func (m *LicenseInspectResponse) XXX_Unmarshal(b []byte) error

type LicenseResponseInfo

type LicenseResponseInfo struct {
	FeatureInfo []*LicenseResponseInfo_FeatureInfo `protobuf:"bytes,1,rep,name=feature_info,json=featureInfo,proto3" json:"feature_info,omitempty"`
	Status      *LicenseResponseInfo_Status        `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
}

func NewPopulatedLicenseResponseInfo

func NewPopulatedLicenseResponseInfo(r randyApi, easy bool) *LicenseResponseInfo

func (*LicenseResponseInfo) Descriptor

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

func (*LicenseResponseInfo) Equal

func (this *LicenseResponseInfo) Equal(that interface{}) bool

func (*LicenseResponseInfo) GetFeatureInfo

func (*LicenseResponseInfo) GetStatus

func (*LicenseResponseInfo) Marshal

func (m *LicenseResponseInfo) Marshal() (dAtA []byte, err error)

func (*LicenseResponseInfo) MarshalTo

func (m *LicenseResponseInfo) MarshalTo(dAtA []byte) (int, error)

func (*LicenseResponseInfo) MarshalToSizedBuffer

func (m *LicenseResponseInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LicenseResponseInfo) ProtoMessage

func (*LicenseResponseInfo) ProtoMessage()

func (*LicenseResponseInfo) Reset

func (m *LicenseResponseInfo) Reset()

func (*LicenseResponseInfo) Size

func (m *LicenseResponseInfo) Size() (n int)

func (*LicenseResponseInfo) String

func (m *LicenseResponseInfo) String() string

func (*LicenseResponseInfo) Unmarshal

func (m *LicenseResponseInfo) Unmarshal(dAtA []byte) error

func (*LicenseResponseInfo) XXX_DiscardUnknown

func (m *LicenseResponseInfo) XXX_DiscardUnknown()

func (*LicenseResponseInfo) XXX_Marshal

func (m *LicenseResponseInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LicenseResponseInfo) XXX_Merge

func (m *LicenseResponseInfo) XXX_Merge(src proto.Message)

func (*LicenseResponseInfo) XXX_Size

func (m *LicenseResponseInfo) XXX_Size() int

func (*LicenseResponseInfo) XXX_Unmarshal

func (m *LicenseResponseInfo) XXX_Unmarshal(b []byte) error

type LicenseResponseInfo_EntitlementInfo

type LicenseResponseInfo_EntitlementInfo struct {
	// License count
	Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
	// Expiry time of license
	Expires *types.Timestamp `protobuf:"bytes,3,opt,name=expires,proto3" json:"expires,omitempty"`
	// Start time of license
	Starts *types.Timestamp `protobuf:"bytes,4,opt,name=starts,proto3" json:"starts,omitempty"`
	// License type defined in common.proto
	Type LicenseType `protobuf:"varint,5,opt,name=type,proto3,enum=LicenseType" json:"type,omitempty"`
}

func NewPopulatedLicenseResponseInfo_EntitlementInfo

func NewPopulatedLicenseResponseInfo_EntitlementInfo(r randyApi, easy bool) *LicenseResponseInfo_EntitlementInfo

func (*LicenseResponseInfo_EntitlementInfo) Descriptor

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

func (*LicenseResponseInfo_EntitlementInfo) Equal

func (this *LicenseResponseInfo_EntitlementInfo) Equal(that interface{}) bool

func (*LicenseResponseInfo_EntitlementInfo) GetCount

func (*LicenseResponseInfo_EntitlementInfo) GetExpires

func (*LicenseResponseInfo_EntitlementInfo) GetStarts

func (*LicenseResponseInfo_EntitlementInfo) GetType

func (*LicenseResponseInfo_EntitlementInfo) Marshal

func (m *LicenseResponseInfo_EntitlementInfo) Marshal() (dAtA []byte, err error)

func (*LicenseResponseInfo_EntitlementInfo) MarshalTo

func (m *LicenseResponseInfo_EntitlementInfo) MarshalTo(dAtA []byte) (int, error)

func (*LicenseResponseInfo_EntitlementInfo) MarshalToSizedBuffer

func (m *LicenseResponseInfo_EntitlementInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LicenseResponseInfo_EntitlementInfo) ProtoMessage

func (*LicenseResponseInfo_EntitlementInfo) ProtoMessage()

func (*LicenseResponseInfo_EntitlementInfo) Reset

func (*LicenseResponseInfo_EntitlementInfo) Size

func (*LicenseResponseInfo_EntitlementInfo) String

func (*LicenseResponseInfo_EntitlementInfo) Unmarshal

func (m *LicenseResponseInfo_EntitlementInfo) Unmarshal(dAtA []byte) error

func (*LicenseResponseInfo_EntitlementInfo) XXX_DiscardUnknown

func (m *LicenseResponseInfo_EntitlementInfo) XXX_DiscardUnknown()

func (*LicenseResponseInfo_EntitlementInfo) XXX_Marshal

func (m *LicenseResponseInfo_EntitlementInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LicenseResponseInfo_EntitlementInfo) XXX_Merge

func (*LicenseResponseInfo_EntitlementInfo) XXX_Size

func (*LicenseResponseInfo_EntitlementInfo) XXX_Unmarshal

func (m *LicenseResponseInfo_EntitlementInfo) XXX_Unmarshal(b []byte) error

type LicenseResponseInfo_FeatureInfo

type LicenseResponseInfo_FeatureInfo struct {
	// Feature name
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Consumed count
	Consumed int64 `protobuf:"varint,2,opt,name=consumed,proto3" json:"consumed,omitempty"`
	// License entitlement info
	EntitlementInfo []*LicenseResponseInfo_EntitlementInfo `protobuf:"bytes,3,rep,name=entitlement_info,json=entitlementInfo,proto3" json:"entitlement_info,omitempty"`
}

func NewPopulatedLicenseResponseInfo_FeatureInfo

func NewPopulatedLicenseResponseInfo_FeatureInfo(r randyApi, easy bool) *LicenseResponseInfo_FeatureInfo

func (*LicenseResponseInfo_FeatureInfo) Descriptor

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

func (*LicenseResponseInfo_FeatureInfo) Equal

func (this *LicenseResponseInfo_FeatureInfo) Equal(that interface{}) bool

func (*LicenseResponseInfo_FeatureInfo) GetConsumed

func (m *LicenseResponseInfo_FeatureInfo) GetConsumed() int64

func (*LicenseResponseInfo_FeatureInfo) GetEntitlementInfo

func (*LicenseResponseInfo_FeatureInfo) GetName

func (*LicenseResponseInfo_FeatureInfo) Marshal

func (m *LicenseResponseInfo_FeatureInfo) Marshal() (dAtA []byte, err error)

func (*LicenseResponseInfo_FeatureInfo) MarshalTo

func (m *LicenseResponseInfo_FeatureInfo) MarshalTo(dAtA []byte) (int, error)

func (*LicenseResponseInfo_FeatureInfo) MarshalToSizedBuffer

func (m *LicenseResponseInfo_FeatureInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LicenseResponseInfo_FeatureInfo) ProtoMessage

func (*LicenseResponseInfo_FeatureInfo) ProtoMessage()

func (*LicenseResponseInfo_FeatureInfo) Reset

func (*LicenseResponseInfo_FeatureInfo) Size

func (m *LicenseResponseInfo_FeatureInfo) Size() (n int)

func (*LicenseResponseInfo_FeatureInfo) String

func (*LicenseResponseInfo_FeatureInfo) Unmarshal

func (m *LicenseResponseInfo_FeatureInfo) Unmarshal(dAtA []byte) error

func (*LicenseResponseInfo_FeatureInfo) XXX_DiscardUnknown

func (m *LicenseResponseInfo_FeatureInfo) XXX_DiscardUnknown()

func (*LicenseResponseInfo_FeatureInfo) XXX_Marshal

func (m *LicenseResponseInfo_FeatureInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LicenseResponseInfo_FeatureInfo) XXX_Merge

func (m *LicenseResponseInfo_FeatureInfo) XXX_Merge(src proto.Message)

func (*LicenseResponseInfo_FeatureInfo) XXX_Size

func (m *LicenseResponseInfo_FeatureInfo) XXX_Size() int

func (*LicenseResponseInfo_FeatureInfo) XXX_Unmarshal

func (m *LicenseResponseInfo_FeatureInfo) XXX_Unmarshal(b []byte) error

type LicenseResponseInfo_Status

type LicenseResponseInfo_Status struct {
	// Representing if license is active or expired
	Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	// Reason for above status
	Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"`
}

func NewPopulatedLicenseResponseInfo_Status

func NewPopulatedLicenseResponseInfo_Status(r randyApi, easy bool) *LicenseResponseInfo_Status

func (*LicenseResponseInfo_Status) Descriptor

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

func (*LicenseResponseInfo_Status) Equal

func (this *LicenseResponseInfo_Status) Equal(that interface{}) bool

func (*LicenseResponseInfo_Status) GetReason

func (m *LicenseResponseInfo_Status) GetReason() string

func (*LicenseResponseInfo_Status) GetStatus

func (m *LicenseResponseInfo_Status) GetStatus() string

func (*LicenseResponseInfo_Status) Marshal

func (m *LicenseResponseInfo_Status) Marshal() (dAtA []byte, err error)

func (*LicenseResponseInfo_Status) MarshalTo

func (m *LicenseResponseInfo_Status) MarshalTo(dAtA []byte) (int, error)

func (*LicenseResponseInfo_Status) MarshalToSizedBuffer

func (m *LicenseResponseInfo_Status) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LicenseResponseInfo_Status) ProtoMessage

func (*LicenseResponseInfo_Status) ProtoMessage()

func (*LicenseResponseInfo_Status) Reset

func (m *LicenseResponseInfo_Status) Reset()

func (*LicenseResponseInfo_Status) Size

func (m *LicenseResponseInfo_Status) Size() (n int)

func (*LicenseResponseInfo_Status) String

func (m *LicenseResponseInfo_Status) String() string

func (*LicenseResponseInfo_Status) Unmarshal

func (m *LicenseResponseInfo_Status) Unmarshal(dAtA []byte) error

func (*LicenseResponseInfo_Status) XXX_DiscardUnknown

func (m *LicenseResponseInfo_Status) XXX_DiscardUnknown()

func (*LicenseResponseInfo_Status) XXX_Marshal

func (m *LicenseResponseInfo_Status) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LicenseResponseInfo_Status) XXX_Merge

func (m *LicenseResponseInfo_Status) XXX_Merge(src proto.Message)

func (*LicenseResponseInfo_Status) XXX_Size

func (m *LicenseResponseInfo_Status) XXX_Size() int

func (*LicenseResponseInfo_Status) XXX_Unmarshal

func (m *LicenseResponseInfo_Status) XXX_Unmarshal(b []byte) error

type LicenseServer

type LicenseServer interface {
	// Activate activate a new license
	Activate(context.Context, *LicenseActivateRequest) (*LicenseActivateResponse, error)
	// Enumerate returns a list of license for given cluster
	Inspect(context.Context, *LicenseInspectRequest) (*LicenseInspectResponse, error)
	// Update updates Usage Based activation ID
	Update(context.Context, *LicenseUpdateRequest) (*LicenseUpdateResponse, error)
}

LicenseServer is the server API for License service.

type LicenseType added in v1.2.1

type LicenseType int32
const (
	LicenseType_Invalid    LicenseType = 0
	LicenseType_Trial      LicenseType = 1
	LicenseType_Enterprise LicenseType = 2
	LicenseType_UsageBased LicenseType = 3
	LicenseType_IBM        LicenseType = 4
	LicenseType_AWS        LicenseType = 5
	LicenseType_GCP        LicenseType = 6
)

func (LicenseType) EnumDescriptor added in v1.2.1

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

func (LicenseType) String added in v1.2.1

func (x LicenseType) String() string

type LicenseUpdateRequest

type LicenseUpdateRequest struct {
	*CreateMetadata `protobuf:"bytes,1,opt,name=metadata,proto3,embedded=metadata" json:"metadata,omitempty"`
	UsageBasedId    string `protobuf:"bytes,2,opt,name=usage_based_id,json=usageBasedId,proto3" json:"usage_based_id,omitempty"`
}

func NewPopulatedLicenseUpdateRequest

func NewPopulatedLicenseUpdateRequest(r randyApi, easy bool) *LicenseUpdateRequest

func (*LicenseUpdateRequest) Descriptor

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

func (*LicenseUpdateRequest) Equal

func (this *LicenseUpdateRequest) Equal(that interface{}) bool

func (*LicenseUpdateRequest) GetUsageBasedId

func (m *LicenseUpdateRequest) GetUsageBasedId() string

func (*LicenseUpdateRequest) Marshal

func (m *LicenseUpdateRequest) Marshal() (dAtA []byte, err error)

func (*LicenseUpdateRequest) MarshalTo

func (m *LicenseUpdateRequest) MarshalTo(dAtA []byte) (int, error)

func (*LicenseUpdateRequest) MarshalToSizedBuffer

func (m *LicenseUpdateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LicenseUpdateRequest) ProtoMessage

func (*LicenseUpdateRequest) ProtoMessage()

func (*LicenseUpdateRequest) Reset

func (m *LicenseUpdateRequest) Reset()

func (*LicenseUpdateRequest) Size

func (m *LicenseUpdateRequest) Size() (n int)

func (*LicenseUpdateRequest) String

func (m *LicenseUpdateRequest) String() string

func (*LicenseUpdateRequest) Unmarshal

func (m *LicenseUpdateRequest) Unmarshal(dAtA []byte) error

func (*LicenseUpdateRequest) XXX_DiscardUnknown

func (m *LicenseUpdateRequest) XXX_DiscardUnknown()

func (*LicenseUpdateRequest) XXX_Marshal

func (m *LicenseUpdateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LicenseUpdateRequest) XXX_Merge

func (m *LicenseUpdateRequest) XXX_Merge(src proto.Message)

func (*LicenseUpdateRequest) XXX_Size

func (m *LicenseUpdateRequest) XXX_Size() int

func (*LicenseUpdateRequest) XXX_Unmarshal

func (m *LicenseUpdateRequest) XXX_Unmarshal(b []byte) error

type LicenseUpdateResponse

type LicenseUpdateResponse struct {
}

func NewPopulatedLicenseUpdateResponse

func NewPopulatedLicenseUpdateResponse(r randyApi, easy bool) *LicenseUpdateResponse

func (*LicenseUpdateResponse) Descriptor

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

func (*LicenseUpdateResponse) Equal

func (this *LicenseUpdateResponse) Equal(that interface{}) bool

func (*LicenseUpdateResponse) Marshal

func (m *LicenseUpdateResponse) Marshal() (dAtA []byte, err error)

func (*LicenseUpdateResponse) MarshalTo

func (m *LicenseUpdateResponse) MarshalTo(dAtA []byte) (int, error)

func (*LicenseUpdateResponse) MarshalToSizedBuffer

func (m *LicenseUpdateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LicenseUpdateResponse) ProtoMessage

func (*LicenseUpdateResponse) ProtoMessage()

func (*LicenseUpdateResponse) Reset

func (m *LicenseUpdateResponse) Reset()

func (*LicenseUpdateResponse) Size

func (m *LicenseUpdateResponse) Size() (n int)

func (*LicenseUpdateResponse) String

func (m *LicenseUpdateResponse) String() string

func (*LicenseUpdateResponse) Unmarshal

func (m *LicenseUpdateResponse) Unmarshal(dAtA []byte) error

func (*LicenseUpdateResponse) XXX_DiscardUnknown

func (m *LicenseUpdateResponse) XXX_DiscardUnknown()

func (*LicenseUpdateResponse) XXX_Marshal

func (m *LicenseUpdateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LicenseUpdateResponse) XXX_Merge

func (m *LicenseUpdateResponse) XXX_Merge(src proto.Message)

func (*LicenseUpdateResponse) XXX_Size

func (m *LicenseUpdateResponse) XXX_Size() int

func (*LicenseUpdateResponse) XXX_Unmarshal

func (m *LicenseUpdateResponse) XXX_Unmarshal(b []byte) error

type Metadata

type Metadata struct {
	// name of the object
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// uid for the object
	Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"`
	// owner of the object. This field is deprecated, not to be used
	// TODO: Currently gRPC supports marking field as [deprecated=true]
	// As we need to access this field as part of migration to new Ownership
	// message will not use the same for now.
	Owner string `protobuf:"bytes,3,opt,name=owner,proto3" json:"owner,omitempty"`
	// organization uid
	OrgId          string           `protobuf:"bytes,4,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
	CreateTime     *types.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	LastUpdateTime *types.Timestamp `protobuf:"bytes,6,opt,name=last_update_time,json=lastUpdateTime,proto3" json:"last_update_time,omitempty"`
	// label selectors for the object for filtering
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// create time in sec
	CreateTimeInSec int64 `protobuf:"varint,8,opt,name=create_time_in_sec,json=createTimeInSec,proto3" json:"create_time_in_sec,omitempty"`
	// ownership of the object
	Ownership *Ownership `protobuf:"bytes,9,opt,name=ownership,proto3" json:"ownership,omitempty"`
}

func NewPopulatedMetadata

func NewPopulatedMetadata(r randyCommon, easy bool) *Metadata

func (*Metadata) Descriptor

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

func (*Metadata) Equal

func (this *Metadata) Equal(that interface{}) bool

func (*Metadata) GetCreateTime

func (m *Metadata) GetCreateTime() *types.Timestamp

func (*Metadata) GetCreateTimeInSec added in v1.2.1

func (m *Metadata) GetCreateTimeInSec() int64

func (*Metadata) GetLabels

func (m *Metadata) GetLabels() map[string]string

func (*Metadata) GetLastUpdateTime

func (m *Metadata) GetLastUpdateTime() *types.Timestamp

func (*Metadata) GetName

func (m *Metadata) GetName() string

func (*Metadata) GetOrgId

func (m *Metadata) GetOrgId() string

func (*Metadata) GetOwner

func (m *Metadata) GetOwner() string

func (*Metadata) GetOwnership added in v1.2.1

func (m *Metadata) GetOwnership() *Ownership

func (*Metadata) GetUid

func (m *Metadata) GetUid() string

func (*Metadata) Marshal

func (m *Metadata) Marshal() (dAtA []byte, err error)

func (*Metadata) MarshalTo

func (m *Metadata) MarshalTo(dAtA []byte) (int, error)

func (*Metadata) MarshalToSizedBuffer

func (m *Metadata) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Metadata) ProtoMessage

func (*Metadata) ProtoMessage()

func (*Metadata) Reset

func (m *Metadata) Reset()

func (*Metadata) Size

func (m *Metadata) Size() (n int)

func (*Metadata) String

func (m *Metadata) String() string

func (*Metadata) Unmarshal

func (m *Metadata) Unmarshal(dAtA []byte) error

func (*Metadata) XXX_DiscardUnknown

func (m *Metadata) XXX_DiscardUnknown()

func (*Metadata) XXX_Marshal

func (m *Metadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Metadata) XXX_Merge

func (m *Metadata) XXX_Merge(src proto.Message)

func (*Metadata) XXX_Size

func (m *Metadata) XXX_Size() int

func (*Metadata) XXX_Unmarshal

func (m *Metadata) XXX_Unmarshal(b []byte) error

type MetricsClient

type MetricsClient interface {
	Inspect(ctx context.Context, in *MetricsInspectRequest, opts ...grpc.CallOption) (*MetricsInspectResponse, error)
}

MetricsClient is the client API for Metrics service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewMetricsClient

func NewMetricsClient(cc *grpc.ClientConn) MetricsClient

type MetricsInspectRequest

type MetricsInspectRequest struct {
	OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
}

func NewPopulatedMetricsInspectRequest

func NewPopulatedMetricsInspectRequest(r randyApi, easy bool) *MetricsInspectRequest

func (*MetricsInspectRequest) Descriptor

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

func (*MetricsInspectRequest) Equal

func (this *MetricsInspectRequest) Equal(that interface{}) bool

func (*MetricsInspectRequest) GetOrgId

func (m *MetricsInspectRequest) GetOrgId() string

func (*MetricsInspectRequest) Marshal

func (m *MetricsInspectRequest) Marshal() (dAtA []byte, err error)

func (*MetricsInspectRequest) MarshalTo

func (m *MetricsInspectRequest) MarshalTo(dAtA []byte) (int, error)

func (*MetricsInspectRequest) MarshalToSizedBuffer

func (m *MetricsInspectRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MetricsInspectRequest) ProtoMessage

func (*MetricsInspectRequest) ProtoMessage()

func (*MetricsInspectRequest) Reset

func (m *MetricsInspectRequest) Reset()

func (*MetricsInspectRequest) Size

func (m *MetricsInspectRequest) Size() (n int)

func (*MetricsInspectRequest) String

func (m *MetricsInspectRequest) String() string

func (*MetricsInspectRequest) Unmarshal

func (m *MetricsInspectRequest) Unmarshal(dAtA []byte) error

func (*MetricsInspectRequest) XXX_DiscardUnknown

func (m *MetricsInspectRequest) XXX_DiscardUnknown()

func (*MetricsInspectRequest) XXX_Marshal

func (m *MetricsInspectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MetricsInspectRequest) XXX_Merge

func (m *MetricsInspectRequest) XXX_Merge(src proto.Message)

func (*MetricsInspectRequest) XXX_Size

func (m *MetricsInspectRequest) XXX_Size() int

func (*MetricsInspectRequest) XXX_Unmarshal

func (m *MetricsInspectRequest) XXX_Unmarshal(b []byte) error

type MetricsInspectResponse

type MetricsInspectResponse struct {
	Stats []*MetricsInspectResponse_Stats `protobuf:"bytes,1,rep,name=stats,proto3" json:"stats,omitempty"`
}

func NewPopulatedMetricsInspectResponse

func NewPopulatedMetricsInspectResponse(r randyApi, easy bool) *MetricsInspectResponse

func (*MetricsInspectResponse) Descriptor

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

func (*MetricsInspectResponse) Equal

func (this *MetricsInspectResponse) Equal(that interface{}) bool

func (*MetricsInspectResponse) GetStats

func (*MetricsInspectResponse) Marshal

func (m *MetricsInspectResponse) Marshal() (dAtA []byte, err error)

func (*MetricsInspectResponse) MarshalTo

func (m *MetricsInspectResponse) MarshalTo(dAtA []byte) (int, error)

func (*MetricsInspectResponse) MarshalToSizedBuffer

func (m *MetricsInspectResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MetricsInspectResponse) ProtoMessage

func (*MetricsInspectResponse) ProtoMessage()

func (*MetricsInspectResponse) Reset

func (m *MetricsInspectResponse) Reset()

func (*MetricsInspectResponse) Size

func (m *MetricsInspectResponse) Size() (n int)

func (*MetricsInspectResponse) String

func (m *MetricsInspectResponse) String() string

func (*MetricsInspectResponse) Unmarshal

func (m *MetricsInspectResponse) Unmarshal(dAtA []byte) error

func (*MetricsInspectResponse) XXX_DiscardUnknown

func (m *MetricsInspectResponse) XXX_DiscardUnknown()

func (*MetricsInspectResponse) XXX_Marshal

func (m *MetricsInspectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MetricsInspectResponse) XXX_Merge

func (m *MetricsInspectResponse) XXX_Merge(src proto.Message)

func (*MetricsInspectResponse) XXX_Size

func (m *MetricsInspectResponse) XXX_Size() int

func (*MetricsInspectResponse) XXX_Unmarshal

func (m *MetricsInspectResponse) XXX_Unmarshal(b []byte) error

type MetricsInspectResponse_Stats

type MetricsInspectResponse_Stats struct {
	Cluster         string `protobuf:"bytes,1,opt,name=cluster,proto3" json:"cluster,omitempty"`
	NumNamespaces   uint64 `protobuf:"varint,2,opt,name=num_namespaces,json=numNamespaces,proto3" json:"num_namespaces,omitempty"`
	TotalBackupSize uint64 `protobuf:"varint,3,opt,name=total_backup_size,json=totalBackupSize,proto3" json:"total_backup_size,omitempty"`
	NumSchedules    uint64 `protobuf:"varint,4,opt,name=num_schedules,json=numSchedules,proto3" json:"num_schedules,omitempty"`
}

func NewPopulatedMetricsInspectResponse_Stats

func NewPopulatedMetricsInspectResponse_Stats(r randyApi, easy bool) *MetricsInspectResponse_Stats

func (*MetricsInspectResponse_Stats) Descriptor

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

func (*MetricsInspectResponse_Stats) Equal

func (this *MetricsInspectResponse_Stats) Equal(that interface{}) bool

func (*MetricsInspectResponse_Stats) GetCluster

func (m *MetricsInspectResponse_Stats) GetCluster() string

func (*MetricsInspectResponse_Stats) GetNumNamespaces

func (m *MetricsInspectResponse_Stats) GetNumNamespaces() uint64

func (*MetricsInspectResponse_Stats) GetNumSchedules

func (m *MetricsInspectResponse_Stats) GetNumSchedules() uint64

func (*MetricsInspectResponse_Stats) GetTotalBackupSize

func (m *MetricsInspectResponse_Stats) GetTotalBackupSize() uint64

func (*MetricsInspectResponse_Stats) Marshal

func (m *MetricsInspectResponse_Stats) Marshal() (dAtA []byte, err error)

func (*MetricsInspectResponse_Stats) MarshalTo

func (m *MetricsInspectResponse_Stats) MarshalTo(dAtA []byte) (int, error)

func (*MetricsInspectResponse_Stats) MarshalToSizedBuffer

func (m *MetricsInspectResponse_Stats) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MetricsInspectResponse_Stats) ProtoMessage

func (*MetricsInspectResponse_Stats) ProtoMessage()

func (*MetricsInspectResponse_Stats) Reset

func (m *MetricsInspectResponse_Stats) Reset()

func (*MetricsInspectResponse_Stats) Size

func (m *MetricsInspectResponse_Stats) Size() (n int)

func (*MetricsInspectResponse_Stats) String

func (*MetricsInspectResponse_Stats) Unmarshal

func (m *MetricsInspectResponse_Stats) Unmarshal(dAtA []byte) error

func (*MetricsInspectResponse_Stats) XXX_DiscardUnknown

func (m *MetricsInspectResponse_Stats) XXX_DiscardUnknown()

func (*MetricsInspectResponse_Stats) XXX_Marshal

func (m *MetricsInspectResponse_Stats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MetricsInspectResponse_Stats) XXX_Merge

func (m *MetricsInspectResponse_Stats) XXX_Merge(src proto.Message)

func (*MetricsInspectResponse_Stats) XXX_Size

func (m *MetricsInspectResponse_Stats) XXX_Size() int

func (*MetricsInspectResponse_Stats) XXX_Unmarshal

func (m *MetricsInspectResponse_Stats) XXX_Unmarshal(b []byte) error

type MetricsServer

type MetricsServer interface {
	Inspect(context.Context, *MetricsInspectRequest) (*MetricsInspectResponse, error)
}

MetricsServer is the server API for Metrics service.

type ObjectRef added in v1.2.1

type ObjectRef struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Uid  string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"`
}

func NewPopulatedObjectRef added in v1.2.1

func NewPopulatedObjectRef(r randyCommon, easy bool) *ObjectRef

func (*ObjectRef) Descriptor added in v1.2.1

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

func (*ObjectRef) Equal added in v1.2.1

func (this *ObjectRef) Equal(that interface{}) bool

func (*ObjectRef) GetName added in v1.2.1

func (m *ObjectRef) GetName() string

func (*ObjectRef) GetUid added in v1.2.1

func (m *ObjectRef) GetUid() string

func (*ObjectRef) Marshal added in v1.2.1

func (m *ObjectRef) Marshal() (dAtA []byte, err error)

func (*ObjectRef) MarshalTo added in v1.2.1

func (m *ObjectRef) MarshalTo(dAtA []byte) (int, error)

func (*ObjectRef) MarshalToSizedBuffer added in v1.2.1

func (m *ObjectRef) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ObjectRef) ProtoMessage added in v1.2.1

func (*ObjectRef) ProtoMessage()

func (*ObjectRef) Reset added in v1.2.1

func (m *ObjectRef) Reset()

func (*ObjectRef) Size added in v1.2.1

func (m *ObjectRef) Size() (n int)

func (*ObjectRef) String added in v1.2.1

func (m *ObjectRef) String() string

func (*ObjectRef) Unmarshal added in v1.2.1

func (m *ObjectRef) Unmarshal(dAtA []byte) error

func (*ObjectRef) XXX_DiscardUnknown added in v1.2.1

func (m *ObjectRef) XXX_DiscardUnknown()

func (*ObjectRef) XXX_Marshal added in v1.2.1

func (m *ObjectRef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ObjectRef) XXX_Merge added in v1.2.1

func (m *ObjectRef) XXX_Merge(src proto.Message)

func (*ObjectRef) XXX_Size added in v1.2.1

func (m *ObjectRef) XXX_Size() int

func (*ObjectRef) XXX_Unmarshal added in v1.2.1

func (m *ObjectRef) XXX_Unmarshal(b []byte) error

type OrganizationClient

type OrganizationClient interface {
	// Create creates new organization object in datastore
	Create(ctx context.Context, in *OrganizationCreateRequest, opts ...grpc.CallOption) (*OrganizationCreateResponse, error)
	// Enumerate returns a list of organization object
	Enumerate(ctx context.Context, in *OrganizationEnumerateRequest, opts ...grpc.CallOption) (*OrganizationEnumerateResponse, error)
	// Inspect returns detailed information about specified organization object
	Inspect(ctx context.Context, in *OrganizationInspectRequest, opts ...grpc.CallOption) (*OrganizationInspectResponse, error)
}

OrganizationClient is the client API for Organization service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewOrganizationClient

func NewOrganizationClient(cc *grpc.ClientConn) OrganizationClient

type OrganizationCreateRequest

type OrganizationCreateRequest struct {
	*CreateMetadata `protobuf:"bytes,1,opt,name=metadata,proto3,embedded=metadata" json:"metadata,omitempty"`
}

Define OrganizationCreateRequest struct

func NewPopulatedOrganizationCreateRequest

func NewPopulatedOrganizationCreateRequest(r randyApi, easy bool) *OrganizationCreateRequest

func (*OrganizationCreateRequest) Descriptor

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

func (*OrganizationCreateRequest) Equal

func (this *OrganizationCreateRequest) Equal(that interface{}) bool

func (*OrganizationCreateRequest) Marshal

func (m *OrganizationCreateRequest) Marshal() (dAtA []byte, err error)

func (*OrganizationCreateRequest) MarshalTo

func (m *OrganizationCreateRequest) MarshalTo(dAtA []byte) (int, error)

func (*OrganizationCreateRequest) MarshalToSizedBuffer

func (m *OrganizationCreateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OrganizationCreateRequest) ProtoMessage

func (*OrganizationCreateRequest) ProtoMessage()

func (*OrganizationCreateRequest) Reset

func (m *OrganizationCreateRequest) Reset()

func (*OrganizationCreateRequest) Size

func (m *OrganizationCreateRequest) Size() (n int)

func (*OrganizationCreateRequest) String

func (m *OrganizationCreateRequest) String() string

func (*OrganizationCreateRequest) Unmarshal

func (m *OrganizationCreateRequest) Unmarshal(dAtA []byte) error

func (*OrganizationCreateRequest) XXX_DiscardUnknown

func (m *OrganizationCreateRequest) XXX_DiscardUnknown()

func (*OrganizationCreateRequest) XXX_Marshal

func (m *OrganizationCreateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OrganizationCreateRequest) XXX_Merge

func (m *OrganizationCreateRequest) XXX_Merge(src proto.Message)

func (*OrganizationCreateRequest) XXX_Size

func (m *OrganizationCreateRequest) XXX_Size() int

func (*OrganizationCreateRequest) XXX_Unmarshal

func (m *OrganizationCreateRequest) XXX_Unmarshal(b []byte) error

type OrganizationCreateResponse

type OrganizationCreateResponse struct {
}

Define OrganizationCreateResponse struct

func NewPopulatedOrganizationCreateResponse

func NewPopulatedOrganizationCreateResponse(r randyApi, easy bool) *OrganizationCreateResponse

func (*OrganizationCreateResponse) Descriptor

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

func (*OrganizationCreateResponse) Equal

func (this *OrganizationCreateResponse) Equal(that interface{}) bool

func (*OrganizationCreateResponse) Marshal

func (m *OrganizationCreateResponse) Marshal() (dAtA []byte, err error)

func (*OrganizationCreateResponse) MarshalTo

func (m *OrganizationCreateResponse) MarshalTo(dAtA []byte) (int, error)

func (*OrganizationCreateResponse) MarshalToSizedBuffer

func (m *OrganizationCreateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OrganizationCreateResponse) ProtoMessage

func (*OrganizationCreateResponse) ProtoMessage()

func (*OrganizationCreateResponse) Reset

func (m *OrganizationCreateResponse) Reset()

func (*OrganizationCreateResponse) Size

func (m *OrganizationCreateResponse) Size() (n int)

func (*OrganizationCreateResponse) String

func (m *OrganizationCreateResponse) String() string

func (*OrganizationCreateResponse) Unmarshal

func (m *OrganizationCreateResponse) Unmarshal(dAtA []byte) error

func (*OrganizationCreateResponse) XXX_DiscardUnknown

func (m *OrganizationCreateResponse) XXX_DiscardUnknown()

func (*OrganizationCreateResponse) XXX_Marshal

func (m *OrganizationCreateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OrganizationCreateResponse) XXX_Merge

func (m *OrganizationCreateResponse) XXX_Merge(src proto.Message)

func (*OrganizationCreateResponse) XXX_Size

func (m *OrganizationCreateResponse) XXX_Size() int

func (*OrganizationCreateResponse) XXX_Unmarshal

func (m *OrganizationCreateResponse) XXX_Unmarshal(b []byte) error

type OrganizationEnumerateRequest

type OrganizationEnumerateRequest struct {
}

Define OrganizationEnumerateRequest struct

func NewPopulatedOrganizationEnumerateRequest

func NewPopulatedOrganizationEnumerateRequest(r randyApi, easy bool) *OrganizationEnumerateRequest

func (*OrganizationEnumerateRequest) Descriptor

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

func (*OrganizationEnumerateRequest) Equal

func (this *OrganizationEnumerateRequest) Equal(that interface{}) bool

func (*OrganizationEnumerateRequest) Marshal

func (m *OrganizationEnumerateRequest) Marshal() (dAtA []byte, err error)

func (*OrganizationEnumerateRequest) MarshalTo

func (m *OrganizationEnumerateRequest) MarshalTo(dAtA []byte) (int, error)

func (*OrganizationEnumerateRequest) MarshalToSizedBuffer

func (m *OrganizationEnumerateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OrganizationEnumerateRequest) ProtoMessage

func (*OrganizationEnumerateRequest) ProtoMessage()

func (*OrganizationEnumerateRequest) Reset

func (m *OrganizationEnumerateRequest) Reset()

func (*OrganizationEnumerateRequest) Size

func (m *OrganizationEnumerateRequest) Size() (n int)

func (*OrganizationEnumerateRequest) String

func (*OrganizationEnumerateRequest) Unmarshal

func (m *OrganizationEnumerateRequest) Unmarshal(dAtA []byte) error

func (*OrganizationEnumerateRequest) XXX_DiscardUnknown

func (m *OrganizationEnumerateRequest) XXX_DiscardUnknown()

func (*OrganizationEnumerateRequest) XXX_Marshal

func (m *OrganizationEnumerateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OrganizationEnumerateRequest) XXX_Merge

func (m *OrganizationEnumerateRequest) XXX_Merge(src proto.Message)

func (*OrganizationEnumerateRequest) XXX_Size

func (m *OrganizationEnumerateRequest) XXX_Size() int

func (*OrganizationEnumerateRequest) XXX_Unmarshal

func (m *OrganizationEnumerateRequest) XXX_Unmarshal(b []byte) error

type OrganizationEnumerateResponse

type OrganizationEnumerateResponse struct {
	Organizations []*OrganizationObject `protobuf:"bytes,1,rep,name=organizations,proto3" json:"organizations,omitempty"`
}

Define OrganizationEnumerateResponse struct

func NewPopulatedOrganizationEnumerateResponse

func NewPopulatedOrganizationEnumerateResponse(r randyApi, easy bool) *OrganizationEnumerateResponse

func (*OrganizationEnumerateResponse) Descriptor

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

func (*OrganizationEnumerateResponse) Equal

func (this *OrganizationEnumerateResponse) Equal(that interface{}) bool

func (*OrganizationEnumerateResponse) GetOrganizations

func (m *OrganizationEnumerateResponse) GetOrganizations() []*OrganizationObject

func (*OrganizationEnumerateResponse) Marshal

func (m *OrganizationEnumerateResponse) Marshal() (dAtA []byte, err error)

func (*OrganizationEnumerateResponse) MarshalTo

func (m *OrganizationEnumerateResponse) MarshalTo(dAtA []byte) (int, error)

func (*OrganizationEnumerateResponse) MarshalToSizedBuffer

func (m *OrganizationEnumerateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OrganizationEnumerateResponse) ProtoMessage

func (*OrganizationEnumerateResponse) ProtoMessage()

func (*OrganizationEnumerateResponse) Reset

func (m *OrganizationEnumerateResponse) Reset()

func (*OrganizationEnumerateResponse) Size

func (m *OrganizationEnumerateResponse) Size() (n int)

func (*OrganizationEnumerateResponse) String

func (*OrganizationEnumerateResponse) Unmarshal

func (m *OrganizationEnumerateResponse) Unmarshal(dAtA []byte) error

func (*OrganizationEnumerateResponse) XXX_DiscardUnknown

func (m *OrganizationEnumerateResponse) XXX_DiscardUnknown()

func (*OrganizationEnumerateResponse) XXX_Marshal

func (m *OrganizationEnumerateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OrganizationEnumerateResponse) XXX_Merge

func (m *OrganizationEnumerateResponse) XXX_Merge(src proto.Message)

func (*OrganizationEnumerateResponse) XXX_Size

func (m *OrganizationEnumerateResponse) XXX_Size() int

func (*OrganizationEnumerateResponse) XXX_Unmarshal

func (m *OrganizationEnumerateResponse) XXX_Unmarshal(b []byte) error

type OrganizationInspectRequest

type OrganizationInspectRequest struct {
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
}

Define OrganizationInspectRequest struct

func NewPopulatedOrganizationInspectRequest

func NewPopulatedOrganizationInspectRequest(r randyApi, easy bool) *OrganizationInspectRequest

func (*OrganizationInspectRequest) Descriptor

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

func (*OrganizationInspectRequest) Equal

func (this *OrganizationInspectRequest) Equal(that interface{}) bool

func (*OrganizationInspectRequest) GetName

func (m *OrganizationInspectRequest) GetName() string

func (*OrganizationInspectRequest) Marshal

func (m *OrganizationInspectRequest) Marshal() (dAtA []byte, err error)

func (*OrganizationInspectRequest) MarshalTo

func (m *OrganizationInspectRequest) MarshalTo(dAtA []byte) (int, error)

func (*OrganizationInspectRequest) MarshalToSizedBuffer

func (m *OrganizationInspectRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OrganizationInspectRequest) ProtoMessage

func (*OrganizationInspectRequest) ProtoMessage()

func (*OrganizationInspectRequest) Reset

func (m *OrganizationInspectRequest) Reset()

func (*OrganizationInspectRequest) Size

func (m *OrganizationInspectRequest) Size() (n int)

func (*OrganizationInspectRequest) String

func (m *OrganizationInspectRequest) String() string

func (*OrganizationInspectRequest) Unmarshal

func (m *OrganizationInspectRequest) Unmarshal(dAtA []byte) error

func (*OrganizationInspectRequest) XXX_DiscardUnknown

func (m *OrganizationInspectRequest) XXX_DiscardUnknown()

func (*OrganizationInspectRequest) XXX_Marshal

func (m *OrganizationInspectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OrganizationInspectRequest) XXX_Merge

func (m *OrganizationInspectRequest) XXX_Merge(src proto.Message)

func (*OrganizationInspectRequest) XXX_Size

func (m *OrganizationInspectRequest) XXX_Size() int

func (*OrganizationInspectRequest) XXX_Unmarshal

func (m *OrganizationInspectRequest) XXX_Unmarshal(b []byte) error

type OrganizationInspectResponse

type OrganizationInspectResponse struct {
	Organization *OrganizationObject `protobuf:"bytes,1,opt,name=organization,proto3" json:"organization,omitempty"`
}

Define OrganizationInspectResponse struct

func NewPopulatedOrganizationInspectResponse

func NewPopulatedOrganizationInspectResponse(r randyApi, easy bool) *OrganizationInspectResponse

func (*OrganizationInspectResponse) Descriptor

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

func (*OrganizationInspectResponse) Equal

func (this *OrganizationInspectResponse) Equal(that interface{}) bool

func (*OrganizationInspectResponse) GetOrganization

func (m *OrganizationInspectResponse) GetOrganization() *OrganizationObject

func (*OrganizationInspectResponse) Marshal

func (m *OrganizationInspectResponse) Marshal() (dAtA []byte, err error)

func (*OrganizationInspectResponse) MarshalTo

func (m *OrganizationInspectResponse) MarshalTo(dAtA []byte) (int, error)

func (*OrganizationInspectResponse) MarshalToSizedBuffer

func (m *OrganizationInspectResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OrganizationInspectResponse) ProtoMessage

func (*OrganizationInspectResponse) ProtoMessage()

func (*OrganizationInspectResponse) Reset

func (m *OrganizationInspectResponse) Reset()

func (*OrganizationInspectResponse) Size

func (m *OrganizationInspectResponse) Size() (n int)

func (*OrganizationInspectResponse) String

func (m *OrganizationInspectResponse) String() string

func (*OrganizationInspectResponse) Unmarshal

func (m *OrganizationInspectResponse) Unmarshal(dAtA []byte) error

func (*OrganizationInspectResponse) XXX_DiscardUnknown

func (m *OrganizationInspectResponse) XXX_DiscardUnknown()

func (*OrganizationInspectResponse) XXX_Marshal

func (m *OrganizationInspectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OrganizationInspectResponse) XXX_Merge

func (m *OrganizationInspectResponse) XXX_Merge(src proto.Message)

func (*OrganizationInspectResponse) XXX_Size

func (m *OrganizationInspectResponse) XXX_Size() int

func (*OrganizationInspectResponse) XXX_Unmarshal

func (m *OrganizationInspectResponse) XXX_Unmarshal(b []byte) error

type OrganizationObject

type OrganizationObject struct {
	*Metadata `protobuf:"bytes,1,opt,name=metadata,proto3,embedded=metadata" json:"metadata,omitempty"`
}

func NewPopulatedOrganizationObject

func NewPopulatedOrganizationObject(r randyApi, easy bool) *OrganizationObject

func (*OrganizationObject) Descriptor

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

func (*OrganizationObject) Equal

func (this *OrganizationObject) Equal(that interface{}) bool

func (*OrganizationObject) Marshal

func (m *OrganizationObject) Marshal() (dAtA []byte, err error)

func (*OrganizationObject) MarshalTo

func (m *OrganizationObject) MarshalTo(dAtA []byte) (int, error)

func (*OrganizationObject) MarshalToSizedBuffer

func (m *OrganizationObject) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OrganizationObject) ProtoMessage

func (*OrganizationObject) ProtoMessage()

func (*OrganizationObject) Reset

func (m *OrganizationObject) Reset()

func (*OrganizationObject) Size

func (m *OrganizationObject) Size() (n int)

func (*OrganizationObject) String

func (m *OrganizationObject) String() string

func (*OrganizationObject) Unmarshal

func (m *OrganizationObject) Unmarshal(dAtA []byte) error

func (*OrganizationObject) XXX_DiscardUnknown

func (m *OrganizationObject) XXX_DiscardUnknown()

func (*OrganizationObject) XXX_Marshal

func (m *OrganizationObject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OrganizationObject) XXX_Merge

func (m *OrganizationObject) XXX_Merge(src proto.Message)

func (*OrganizationObject) XXX_Size

func (m *OrganizationObject) XXX_Size() int

func (*OrganizationObject) XXX_Unmarshal

func (m *OrganizationObject) XXX_Unmarshal(b []byte) error

type OrganizationServer

type OrganizationServer interface {
	// Create creates new organization object in datastore
	Create(context.Context, *OrganizationCreateRequest) (*OrganizationCreateResponse, error)
	// Enumerate returns a list of organization object
	Enumerate(context.Context, *OrganizationEnumerateRequest) (*OrganizationEnumerateResponse, error)
	// Inspect returns detailed information about specified organization object
	Inspect(context.Context, *OrganizationInspectRequest) (*OrganizationInspectResponse, error)
}

OrganizationServer is the server API for Organization service.

type Ownership added in v1.2.1

type Ownership struct {
	// Username of owner
	// The storage system uses the username taken from the token
	// and is saved on this field. Only users with system administration
	// can edit this value.
	Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
	// Group access to objects which must match the group set in the
	// authorization token.
	// Can be set by the owner or the system administrator only.
	// Possible values are:
	// 1. no groups: Means no groups are given access.
	// 2. `["*"]`: All groups are allowed.
	// 3. `["group1", "group2"]`: Only certain groups are allowed. In this
	// example only
	// _group1_ and _group2_ are allowed.
	Groups []*Ownership_AccessConfig `protobuf:"bytes,2,rep,name=groups,proto3" json:"groups,omitempty"`
	// Collaborator access to objects gives access to other user.
	// Must be the username (unique id) set in the authorization token.
	// The owner or the administrator can set this value. Possible values
	// are:
	// 1. no collaborators: Means no users are given access.
	// 2. `["*"]`: All users are allowed.
	// 3. `["username1", "username2"]`: Only certain usernames are allowed.
	// In this example only
	// _username1_ and _username2_ are allowed.
	Collaborators []*Ownership_AccessConfig `protobuf:"bytes,3,rep,name=collaborators,proto3" json:"collaborators,omitempty"`
	// Public access to objects may be assigned for access by the public
	// userd
	// TODO: Instead of PublicAccessControl, can we just set '*' in
	// collaborators with required permission?
	Public *Ownership_PublicAccessControl `protobuf:"bytes,4,opt,name=public,proto3" json:"public,omitempty"`
}

Ownership information for objects(eg: backup object, schedule object). Administrators are users who belong to the group `*`, meaning, every group.

func NewPopulatedOwnership added in v1.2.1

func NewPopulatedOwnership(r randyCommon, easy bool) *Ownership

func (*Ownership) Descriptor added in v1.2.1

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

func (*Ownership) Equal added in v1.2.1

func (this *Ownership) Equal(that interface{}) bool

func (*Ownership) GetCollaborators added in v1.2.1

func (m *Ownership) GetCollaborators() []*Ownership_AccessConfig

func (*Ownership) GetGroups added in v1.2.1

func (m *Ownership) GetGroups() []*Ownership_AccessConfig

func (*Ownership) GetOwner added in v1.2.1

func (m *Ownership) GetOwner() string

func (*Ownership) GetPublic added in v1.2.1

func (m *Ownership) GetPublic() *Ownership_PublicAccessControl

func (*Ownership) Marshal added in v1.2.1

func (m *Ownership) Marshal() (dAtA []byte, err error)

func (*Ownership) MarshalTo added in v1.2.1

func (m *Ownership) MarshalTo(dAtA []byte) (int, error)

func (*Ownership) MarshalToSizedBuffer added in v1.2.1

func (m *Ownership) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Ownership) ProtoMessage added in v1.2.1

func (*Ownership) ProtoMessage()

func (*Ownership) Reset added in v1.2.1

func (m *Ownership) Reset()

func (*Ownership) Size added in v1.2.1

func (m *Ownership) Size() (n int)

func (*Ownership) String added in v1.2.1

func (m *Ownership) String() string

func (*Ownership) Unmarshal added in v1.2.1

func (m *Ownership) Unmarshal(dAtA []byte) error

func (*Ownership) XXX_DiscardUnknown added in v1.2.1

func (m *Ownership) XXX_DiscardUnknown()

func (*Ownership) XXX_Marshal added in v1.2.1

func (m *Ownership) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Ownership) XXX_Merge added in v1.2.1

func (m *Ownership) XXX_Merge(src proto.Message)

func (*Ownership) XXX_Size added in v1.2.1

func (m *Ownership) XXX_Size() int

func (*Ownership) XXX_Unmarshal added in v1.2.1

func (m *Ownership) XXX_Unmarshal(b []byte) error

type Ownership_AccessConfig added in v1.2.1

type Ownership_AccessConfig struct {
	Id     string               `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Access Ownership_AccessType `protobuf:"varint,2,opt,name=access,proto3,enum=Ownership_AccessType" json:"access,omitempty"`
}

func NewPopulatedOwnership_AccessConfig added in v1.2.1

func NewPopulatedOwnership_AccessConfig(r randyCommon, easy bool) *Ownership_AccessConfig

func (*Ownership_AccessConfig) Descriptor added in v1.2.1

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

func (*Ownership_AccessConfig) Equal added in v1.2.1

func (this *Ownership_AccessConfig) Equal(that interface{}) bool

func (*Ownership_AccessConfig) GetAccess added in v1.2.1

func (*Ownership_AccessConfig) GetId added in v1.2.1

func (m *Ownership_AccessConfig) GetId() string

func (*Ownership_AccessConfig) Marshal added in v1.2.1

func (m *Ownership_AccessConfig) Marshal() (dAtA []byte, err error)

func (*Ownership_AccessConfig) MarshalTo added in v1.2.1

func (m *Ownership_AccessConfig) MarshalTo(dAtA []byte) (int, error)

func (*Ownership_AccessConfig) MarshalToSizedBuffer added in v1.2.1

func (m *Ownership_AccessConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Ownership_AccessConfig) ProtoMessage added in v1.2.1

func (*Ownership_AccessConfig) ProtoMessage()

func (*Ownership_AccessConfig) Reset added in v1.2.1

func (m *Ownership_AccessConfig) Reset()

func (*Ownership_AccessConfig) Size added in v1.2.1

func (m *Ownership_AccessConfig) Size() (n int)

func (*Ownership_AccessConfig) String added in v1.2.1

func (m *Ownership_AccessConfig) String() string

func (*Ownership_AccessConfig) Unmarshal added in v1.2.1

func (m *Ownership_AccessConfig) Unmarshal(dAtA []byte) error

func (*Ownership_AccessConfig) XXX_DiscardUnknown added in v1.2.1

func (m *Ownership_AccessConfig) XXX_DiscardUnknown()

func (*Ownership_AccessConfig) XXX_Marshal added in v1.2.1

func (m *Ownership_AccessConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Ownership_AccessConfig) XXX_Merge added in v1.2.1

func (m *Ownership_AccessConfig) XXX_Merge(src proto.Message)

func (*Ownership_AccessConfig) XXX_Size added in v1.2.1

func (m *Ownership_AccessConfig) XXX_Size() int

func (*Ownership_AccessConfig) XXX_Unmarshal added in v1.2.1

func (m *Ownership_AccessConfig) XXX_Unmarshal(b []byte) error

type Ownership_AccessType added in v1.2.1

type Ownership_AccessType int32
const (
	Ownership_Invalid Ownership_AccessType = 0
	// Read access only and cannot affect the resource.
	Ownership_Read Ownership_AccessType = 1
	// Write access and can affect the resource.
	// This type automatically provides Read access also.
	Ownership_Write Ownership_AccessType = 2
	// Administrator access.
	// This type automatically provides Read and Write access also.
	Ownership_Admin Ownership_AccessType = 3
)

func (Ownership_AccessType) EnumDescriptor added in v1.2.1

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

func (Ownership_AccessType) String added in v1.2.1

func (x Ownership_AccessType) String() string

type Ownership_PublicAccessControl added in v1.2.1

type Ownership_PublicAccessControl struct {
	// AccessType declares which level of public access is allowed
	Type Ownership_AccessType `protobuf:"varint,1,opt,name=type,proto3,enum=Ownership_AccessType" json:"type,omitempty"`
}

PublicAccessControl allows assigning public ownership

func NewPopulatedOwnership_PublicAccessControl added in v1.2.1

func NewPopulatedOwnership_PublicAccessControl(r randyCommon, easy bool) *Ownership_PublicAccessControl

func (*Ownership_PublicAccessControl) Descriptor added in v1.2.1

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

func (*Ownership_PublicAccessControl) Equal added in v1.2.1

func (this *Ownership_PublicAccessControl) Equal(that interface{}) bool

func (*Ownership_PublicAccessControl) GetType added in v1.2.1

func (*Ownership_PublicAccessControl) Marshal added in v1.2.1

func (m *Ownership_PublicAccessControl) Marshal() (dAtA []byte, err error)

func (*Ownership_PublicAccessControl) MarshalTo added in v1.2.1

func (m *Ownership_PublicAccessControl) MarshalTo(dAtA []byte) (int, error)

func (*Ownership_PublicAccessControl) MarshalToSizedBuffer added in v1.2.1

func (m *Ownership_PublicAccessControl) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Ownership_PublicAccessControl) ProtoMessage added in v1.2.1

func (*Ownership_PublicAccessControl) ProtoMessage()

func (*Ownership_PublicAccessControl) Reset added in v1.2.1

func (m *Ownership_PublicAccessControl) Reset()

func (*Ownership_PublicAccessControl) Size added in v1.2.1

func (m *Ownership_PublicAccessControl) Size() (n int)

func (*Ownership_PublicAccessControl) String added in v1.2.1

func (*Ownership_PublicAccessControl) Unmarshal added in v1.2.1

func (m *Ownership_PublicAccessControl) Unmarshal(dAtA []byte) error

func (*Ownership_PublicAccessControl) XXX_DiscardUnknown added in v1.2.1

func (m *Ownership_PublicAccessControl) XXX_DiscardUnknown()

func (*Ownership_PublicAccessControl) XXX_Marshal added in v1.2.1

func (m *Ownership_PublicAccessControl) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Ownership_PublicAccessControl) XXX_Merge added in v1.2.1

func (m *Ownership_PublicAccessControl) XXX_Merge(src proto.Message)

func (*Ownership_PublicAccessControl) XXX_Size added in v1.2.1

func (m *Ownership_PublicAccessControl) XXX_Size() int

func (*Ownership_PublicAccessControl) XXX_Unmarshal added in v1.2.1

func (m *Ownership_PublicAccessControl) XXX_Unmarshal(b []byte) error

type PXConfig

type PXConfig struct {
	AccessToken string `protobuf:"bytes,1,opt,name=access_token,json=accessToken,proto3" json:"accesstoken"`
}

func NewPopulatedPXConfig

func NewPopulatedPXConfig(r randyApi, easy bool) *PXConfig

func (*PXConfig) Descriptor

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

func (*PXConfig) Equal

func (this *PXConfig) Equal(that interface{}) bool

func (*PXConfig) GetAccessToken

func (m *PXConfig) GetAccessToken() string

func (*PXConfig) Marshal

func (m *PXConfig) Marshal() (dAtA []byte, err error)

func (*PXConfig) MarshalTo

func (m *PXConfig) MarshalTo(dAtA []byte) (int, error)

func (*PXConfig) MarshalToSizedBuffer

func (m *PXConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PXConfig) ProtoMessage

func (*PXConfig) ProtoMessage()

func (*PXConfig) Reset

func (m *PXConfig) Reset()

func (*PXConfig) Size

func (m *PXConfig) Size() (n int)

func (*PXConfig) String

func (m *PXConfig) String() string

func (*PXConfig) Unmarshal

func (m *PXConfig) Unmarshal(dAtA []byte) error

func (*PXConfig) XXX_DiscardUnknown

func (m *PXConfig) XXX_DiscardUnknown()

func (*PXConfig) XXX_Marshal

func (m *PXConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PXConfig) XXX_Merge

func (m *PXConfig) XXX_Merge(src proto.Message)

func (*PXConfig) XXX_Size

func (m *PXConfig) XXX_Size() int

func (*PXConfig) XXX_Unmarshal

func (m *PXConfig) XXX_Unmarshal(b []byte) error

type Permission added in v1.2.1

type Permission struct {
	FullAccess bool `protobuf:"varint,1,opt,name=full_access,json=fullAccess,proto3" json:"full_access,omitempty"`
}

Define Permission struct

func NewPopulatedPermission added in v1.2.1

func NewPopulatedPermission(r randyApi, easy bool) *Permission

func (*Permission) Descriptor added in v1.2.1

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

func (*Permission) Equal added in v1.2.1

func (this *Permission) Equal(that interface{}) bool

func (*Permission) GetFullAccess added in v1.2.1

func (m *Permission) GetFullAccess() bool

func (*Permission) Marshal added in v1.2.1

func (m *Permission) Marshal() (dAtA []byte, err error)

func (*Permission) MarshalTo added in v1.2.1

func (m *Permission) MarshalTo(dAtA []byte) (int, error)

func (*Permission) MarshalToSizedBuffer added in v1.2.1

func (m *Permission) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Permission) ProtoMessage added in v1.2.1

func (*Permission) ProtoMessage()

func (*Permission) Reset added in v1.2.1

func (m *Permission) Reset()

func (*Permission) Size added in v1.2.1

func (m *Permission) Size() (n int)

func (*Permission) String added in v1.2.1

func (m *Permission) String() string

func (*Permission) Unmarshal added in v1.2.1

func (m *Permission) Unmarshal(dAtA []byte) error

func (*Permission) XXX_DiscardUnknown added in v1.2.1

func (m *Permission) XXX_DiscardUnknown()

func (*Permission) XXX_Marshal added in v1.2.1

func (m *Permission) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Permission) XXX_Merge added in v1.2.1

func (m *Permission) XXX_Merge(src proto.Message)

func (*Permission) XXX_Size added in v1.2.1

func (m *Permission) XXX_Size() int

func (*Permission) XXX_Unmarshal added in v1.2.1

func (m *Permission) XXX_Unmarshal(b []byte) error

type ReplacePolicy

type ReplacePolicy struct {
}

func NewPopulatedReplacePolicy

func NewPopulatedReplacePolicy(r randyApi, easy bool) *ReplacePolicy

func (*ReplacePolicy) Descriptor

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

func (*ReplacePolicy) Equal

func (this *ReplacePolicy) Equal(that interface{}) bool

func (*ReplacePolicy) Marshal

func (m *ReplacePolicy) Marshal() (dAtA []byte, err error)

func (*ReplacePolicy) MarshalTo

func (m *ReplacePolicy) MarshalTo(dAtA []byte) (int, error)

func (*ReplacePolicy) MarshalToSizedBuffer

func (m *ReplacePolicy) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ReplacePolicy) ProtoMessage

func (*ReplacePolicy) ProtoMessage()

func (*ReplacePolicy) Reset

func (m *ReplacePolicy) Reset()

func (*ReplacePolicy) Size

func (m *ReplacePolicy) Size() (n int)

func (*ReplacePolicy) String

func (m *ReplacePolicy) String() string

func (*ReplacePolicy) Unmarshal

func (m *ReplacePolicy) Unmarshal(dAtA []byte) error

func (*ReplacePolicy) XXX_DiscardUnknown

func (m *ReplacePolicy) XXX_DiscardUnknown()

func (*ReplacePolicy) XXX_Marshal

func (m *ReplacePolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReplacePolicy) XXX_Merge

func (m *ReplacePolicy) XXX_Merge(src proto.Message)

func (*ReplacePolicy) XXX_Size

func (m *ReplacePolicy) XXX_Size() int

func (*ReplacePolicy) XXX_Unmarshal

func (m *ReplacePolicy) XXX_Unmarshal(b []byte) error

type ReplacePolicy_Type

type ReplacePolicy_Type int32
const (
	ReplacePolicy_Invalid ReplacePolicy_Type = 0
	ReplacePolicy_Retain  ReplacePolicy_Type = 1
	ReplacePolicy_Delete  ReplacePolicy_Type = 2
)

func (ReplacePolicy_Type) EnumDescriptor

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

func (ReplacePolicy_Type) String

func (x ReplacePolicy_Type) String() string

type ResourceInfo

type ResourceInfo struct {
	Name      string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Group     string `protobuf:"bytes,3,opt,name=group,proto3" json:"group,omitempty"`
	Kind      string `protobuf:"bytes,4,opt,name=kind,proto3" json:"kind,omitempty"`
	Version   string `protobuf:"bytes,5,opt,name=version,proto3" json:"version,omitempty"`
}

func NewPopulatedResourceInfo

func NewPopulatedResourceInfo(r randyApi, easy bool) *ResourceInfo

func (*ResourceInfo) Descriptor

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

func (*ResourceInfo) Equal

func (this *ResourceInfo) Equal(that interface{}) bool

func (*ResourceInfo) GetGroup

func (m *ResourceInfo) GetGroup() string

func (*ResourceInfo) GetKind

func (m *ResourceInfo) GetKind() string

func (*ResourceInfo) GetName

func (m *ResourceInfo) GetName() string

func (*ResourceInfo) GetNamespace

func (m *ResourceInfo) GetNamespace() string

func (*ResourceInfo) GetVersion

func (m *ResourceInfo) GetVersion() string

func (*ResourceInfo) Marshal

func (m *ResourceInfo) Marshal() (dAtA []byte, err error)

func (*ResourceInfo) MarshalTo

func (m *ResourceInfo) MarshalTo(dAtA []byte) (int, error)

func (*ResourceInfo) MarshalToSizedBuffer

func (m *ResourceInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ResourceInfo) ProtoMessage

func (*ResourceInfo) ProtoMessage()

func (*ResourceInfo) Reset

func (m *ResourceInfo) Reset()

func (*ResourceInfo) Size

func (m *ResourceInfo) Size() (n int)

func (*ResourceInfo) String

func (m *ResourceInfo) String() string

func (*ResourceInfo) Unmarshal

func (m *ResourceInfo) Unmarshal(dAtA []byte) error

func (*ResourceInfo) XXX_DiscardUnknown

func (m *ResourceInfo) XXX_DiscardUnknown()

func (*ResourceInfo) XXX_Marshal

func (m *ResourceInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ResourceInfo) XXX_Merge

func (m *ResourceInfo) XXX_Merge(src proto.Message)

func (*ResourceInfo) XXX_Size

func (m *ResourceInfo) XXX_Size() int

func (*ResourceInfo) XXX_Unmarshal

func (m *ResourceInfo) XXX_Unmarshal(b []byte) error

type RestoreClient

type RestoreClient interface {
	// Create creates new restore object in datastore
	// It will also trigger a restore operation on the target cluster
	Create(ctx context.Context, in *RestoreCreateRequest, opts ...grpc.CallOption) (*RestoreCreateResponse, error)
	// Update given restore details
	Update(ctx context.Context, in *RestoreUpdateRequest, opts ...grpc.CallOption) (*RestoreUpdateResponse, error)
	// Enumerate returns a list of restore objects
	Enumerate(ctx context.Context, in *RestoreEnumerateRequest, opts ...grpc.CallOption) (*RestoreEnumerateResponse, error)
	// Inspect returns detailed information about specified restore object
	Inspect(ctx context.Context, in *RestoreInspectRequest, opts ...grpc.CallOption) (*RestoreInspectResponse, error)
	// Delete removes a restore object
	Delete(ctx context.Context, in *RestoreDeleteRequest, opts ...grpc.CallOption) (*RestoreDeleteResponse, error)
}

RestoreClient is the client API for Restore service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewRestoreClient

func NewRestoreClient(cc *grpc.ClientConn) RestoreClient

type RestoreCreateRequest

type RestoreCreateRequest struct {
	*CreateMetadata `protobuf:"bytes,1,opt,name=metadata,proto3,embedded=metadata" json:"metadata,omitempty"`
	// uid or name of backup
	Backup string `protobuf:"bytes,2,opt,name=backup,proto3" json:"backup,omitempty"`
	// uid or name of cluster
	Cluster string `protobuf:"bytes,3,opt,name=cluster,proto3" json:"cluster,omitempty"`
	// mapping of the namespaces from the backup to which restore should be done
	NamespaceMapping map[string]string `` /* 197-byte string literal not displayed */
	// replace policy to use if the resource already exists
	ReplacePolicy ReplacePolicy_Type `protobuf:"varint,5,opt,name=replace_policy,json=replacePolicy,proto3,enum=ReplacePolicy_Type" json:"replace_policy,omitempty"`
	// optional resource types to be restored (eg Jobs)
	IncludeOptionalResourceTypes []string `` /* 149-byte string literal not displayed */
	// List of resources to restore (optional)
	IncludeResources []*ResourceInfo `protobuf:"bytes,7,rep,name=include_resources,json=includeResources,proto3" json:"include_resources,omitempty"`
}

Define RestoreCreateRequest struct

func NewPopulatedRestoreCreateRequest

func NewPopulatedRestoreCreateRequest(r randyApi, easy bool) *RestoreCreateRequest

func (*RestoreCreateRequest) Descriptor

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

func (*RestoreCreateRequest) Equal

func (this *RestoreCreateRequest) Equal(that interface{}) bool

func (*RestoreCreateRequest) GetBackup

func (m *RestoreCreateRequest) GetBackup() string

func (*RestoreCreateRequest) GetCluster

func (m *RestoreCreateRequest) GetCluster() string

func (*RestoreCreateRequest) GetIncludeOptionalResourceTypes

func (m *RestoreCreateRequest) GetIncludeOptionalResourceTypes() []string

func (*RestoreCreateRequest) GetIncludeResources

func (m *RestoreCreateRequest) GetIncludeResources() []*ResourceInfo

func (*RestoreCreateRequest) GetNamespaceMapping

func (m *RestoreCreateRequest) GetNamespaceMapping() map[string]string

func (*RestoreCreateRequest) GetReplacePolicy

func (m *RestoreCreateRequest) GetReplacePolicy() ReplacePolicy_Type

func (*RestoreCreateRequest) Marshal

func (m *RestoreCreateRequest) Marshal() (dAtA []byte, err error)

func (*RestoreCreateRequest) MarshalTo

func (m *RestoreCreateRequest) MarshalTo(dAtA []byte) (int, error)

func (*RestoreCreateRequest) MarshalToSizedBuffer

func (m *RestoreCreateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RestoreCreateRequest) ProtoMessage

func (*RestoreCreateRequest) ProtoMessage()

func (*RestoreCreateRequest) Reset

func (m *RestoreCreateRequest) Reset()

func (*RestoreCreateRequest) Size

func (m *RestoreCreateRequest) Size() (n int)

func (*RestoreCreateRequest) String

func (m *RestoreCreateRequest) String() string

func (*RestoreCreateRequest) Unmarshal

func (m *RestoreCreateRequest) Unmarshal(dAtA []byte) error

func (*RestoreCreateRequest) XXX_DiscardUnknown

func (m *RestoreCreateRequest) XXX_DiscardUnknown()

func (*RestoreCreateRequest) XXX_Marshal

func (m *RestoreCreateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RestoreCreateRequest) XXX_Merge

func (m *RestoreCreateRequest) XXX_Merge(src proto.Message)

func (*RestoreCreateRequest) XXX_Size

func (m *RestoreCreateRequest) XXX_Size() int

func (*RestoreCreateRequest) XXX_Unmarshal

func (m *RestoreCreateRequest) XXX_Unmarshal(b []byte) error

type RestoreCreateResponse

type RestoreCreateResponse struct {
}

Define RestoreCreateResponse struct

func NewPopulatedRestoreCreateResponse

func NewPopulatedRestoreCreateResponse(r randyApi, easy bool) *RestoreCreateResponse

func (*RestoreCreateResponse) Descriptor

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

func (*RestoreCreateResponse) Equal

func (this *RestoreCreateResponse) Equal(that interface{}) bool

func (*RestoreCreateResponse) Marshal

func (m *RestoreCreateResponse) Marshal() (dAtA []byte, err error)

func (*RestoreCreateResponse) MarshalTo

func (m *RestoreCreateResponse) MarshalTo(dAtA []byte) (int, error)

func (*RestoreCreateResponse) MarshalToSizedBuffer

func (m *RestoreCreateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RestoreCreateResponse) ProtoMessage

func (*RestoreCreateResponse) ProtoMessage()

func (*RestoreCreateResponse) Reset

func (m *RestoreCreateResponse) Reset()

func (*RestoreCreateResponse) Size

func (m *RestoreCreateResponse) Size() (n int)

func (*RestoreCreateResponse) String

func (m *RestoreCreateResponse) String() string

func (*RestoreCreateResponse) Unmarshal

func (m *RestoreCreateResponse) Unmarshal(dAtA []byte) error

func (*RestoreCreateResponse) XXX_DiscardUnknown

func (m *RestoreCreateResponse) XXX_DiscardUnknown()

func (*RestoreCreateResponse) XXX_Marshal

func (m *RestoreCreateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RestoreCreateResponse) XXX_Merge

func (m *RestoreCreateResponse) XXX_Merge(src proto.Message)

func (*RestoreCreateResponse) XXX_Size

func (m *RestoreCreateResponse) XXX_Size() int

func (*RestoreCreateResponse) XXX_Unmarshal

func (m *RestoreCreateResponse) XXX_Unmarshal(b []byte) error

type RestoreDeleteRequest

type RestoreDeleteRequest struct {
	OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
	Name  string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
}

Define RestoreDeleteRequest struct

func NewPopulatedRestoreDeleteRequest

func NewPopulatedRestoreDeleteRequest(r randyApi, easy bool) *RestoreDeleteRequest

func (*RestoreDeleteRequest) Descriptor

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

func (*RestoreDeleteRequest) Equal

func (this *RestoreDeleteRequest) Equal(that interface{}) bool

func (*RestoreDeleteRequest) GetName

func (m *RestoreDeleteRequest) GetName() string

func (*RestoreDeleteRequest) GetOrgId

func (m *RestoreDeleteRequest) GetOrgId() string

func (*RestoreDeleteRequest) Marshal

func (m *RestoreDeleteRequest) Marshal() (dAtA []byte, err error)

func (*RestoreDeleteRequest) MarshalTo

func (m *RestoreDeleteRequest) MarshalTo(dAtA []byte) (int, error)

func (*RestoreDeleteRequest) MarshalToSizedBuffer

func (m *RestoreDeleteRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RestoreDeleteRequest) ProtoMessage

func (*RestoreDeleteRequest) ProtoMessage()

func (*RestoreDeleteRequest) Reset

func (m *RestoreDeleteRequest) Reset()

func (*RestoreDeleteRequest) Size

func (m *RestoreDeleteRequest) Size() (n int)

func (*RestoreDeleteRequest) String

func (m *RestoreDeleteRequest) String() string

func (*RestoreDeleteRequest) Unmarshal

func (m *RestoreDeleteRequest) Unmarshal(dAtA []byte) error

func (*RestoreDeleteRequest) XXX_DiscardUnknown

func (m *RestoreDeleteRequest) XXX_DiscardUnknown()

func (*RestoreDeleteRequest) XXX_Marshal

func (m *RestoreDeleteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RestoreDeleteRequest) XXX_Merge

func (m *RestoreDeleteRequest) XXX_Merge(src proto.Message)

func (*RestoreDeleteRequest) XXX_Size

func (m *RestoreDeleteRequest) XXX_Size() int

func (*RestoreDeleteRequest) XXX_Unmarshal

func (m *RestoreDeleteRequest) XXX_Unmarshal(b []byte) error

type RestoreDeleteResponse

type RestoreDeleteResponse struct {
}

Define RestoreDeleteResponse struct

func NewPopulatedRestoreDeleteResponse

func NewPopulatedRestoreDeleteResponse(r randyApi, easy bool) *RestoreDeleteResponse

func (*RestoreDeleteResponse) Descriptor

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

func (*RestoreDeleteResponse) Equal

func (this *RestoreDeleteResponse) Equal(that interface{}) bool

func (*RestoreDeleteResponse) Marshal

func (m *RestoreDeleteResponse) Marshal() (dAtA []byte, err error)

func (*RestoreDeleteResponse) MarshalTo

func (m *RestoreDeleteResponse) MarshalTo(dAtA []byte) (int, error)

func (*RestoreDeleteResponse) MarshalToSizedBuffer

func (m *RestoreDeleteResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RestoreDeleteResponse) ProtoMessage

func (*RestoreDeleteResponse) ProtoMessage()

func (*RestoreDeleteResponse) Reset

func (m *RestoreDeleteResponse) Reset()

func (*RestoreDeleteResponse) Size

func (m *RestoreDeleteResponse) Size() (n int)

func (*RestoreDeleteResponse) String

func (m *RestoreDeleteResponse) String() string

func (*RestoreDeleteResponse) Unmarshal

func (m *RestoreDeleteResponse) Unmarshal(dAtA []byte) error

func (*RestoreDeleteResponse) XXX_DiscardUnknown

func (m *RestoreDeleteResponse) XXX_DiscardUnknown()

func (*RestoreDeleteResponse) XXX_Marshal

func (m *RestoreDeleteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RestoreDeleteResponse) XXX_Merge

func (m *RestoreDeleteResponse) XXX_Merge(src proto.Message)

func (*RestoreDeleteResponse) XXX_Size

func (m *RestoreDeleteResponse) XXX_Size() int

func (*RestoreDeleteResponse) XXX_Unmarshal

func (m *RestoreDeleteResponse) XXX_Unmarshal(b []byte) error

type RestoreEnumerateRequest

type RestoreEnumerateRequest struct {
	// Organization id
	OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
	// Optional arguments for enumeration
	*EnumerateOptions `` /* 136-byte string literal not displayed */
}

Define RestoreEnumerateRequest struct

func NewPopulatedRestoreEnumerateRequest

func NewPopulatedRestoreEnumerateRequest(r randyApi, easy bool) *RestoreEnumerateRequest

func (*RestoreEnumerateRequest) Descriptor

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

func (*RestoreEnumerateRequest) Equal

func (this *RestoreEnumerateRequest) Equal(that interface{}) bool

func (*RestoreEnumerateRequest) GetOrgId

func (m *RestoreEnumerateRequest) GetOrgId() string

func (*RestoreEnumerateRequest) Marshal

func (m *RestoreEnumerateRequest) Marshal() (dAtA []byte, err error)

func (*RestoreEnumerateRequest) MarshalTo

func (m *RestoreEnumerateRequest) MarshalTo(dAtA []byte) (int, error)

func (*RestoreEnumerateRequest) MarshalToSizedBuffer

func (m *RestoreEnumerateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RestoreEnumerateRequest) ProtoMessage

func (*RestoreEnumerateRequest) ProtoMessage()

func (*RestoreEnumerateRequest) Reset

func (m *RestoreEnumerateRequest) Reset()

func (*RestoreEnumerateRequest) Size

func (m *RestoreEnumerateRequest) Size() (n int)

func (*RestoreEnumerateRequest) String

func (m *RestoreEnumerateRequest) String() string

func (*RestoreEnumerateRequest) Unmarshal

func (m *RestoreEnumerateRequest) Unmarshal(dAtA []byte) error

func (*RestoreEnumerateRequest) XXX_DiscardUnknown

func (m *RestoreEnumerateRequest) XXX_DiscardUnknown()

func (*RestoreEnumerateRequest) XXX_Marshal

func (m *RestoreEnumerateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RestoreEnumerateRequest) XXX_Merge

func (m *RestoreEnumerateRequest) XXX_Merge(src proto.Message)

func (*RestoreEnumerateRequest) XXX_Size

func (m *RestoreEnumerateRequest) XXX_Size() int

func (*RestoreEnumerateRequest) XXX_Unmarshal

func (m *RestoreEnumerateRequest) XXX_Unmarshal(b []byte) error

type RestoreEnumerateResponse

type RestoreEnumerateResponse struct {
	Restores   []*RestoreObject `protobuf:"bytes,1,rep,name=restores,proto3" json:"restores,omitempty"`
	TotalCount uint64           `protobuf:"varint,2,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"`
	Complete   bool             `protobuf:"varint,3,opt,name=complete,proto3" json:"complete,omitempty"`
}

Define RestoreEnumerateResponse struct

func NewPopulatedRestoreEnumerateResponse

func NewPopulatedRestoreEnumerateResponse(r randyApi, easy bool) *RestoreEnumerateResponse

func (*RestoreEnumerateResponse) Descriptor

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

func (*RestoreEnumerateResponse) Equal

func (this *RestoreEnumerateResponse) Equal(that interface{}) bool

func (*RestoreEnumerateResponse) GetComplete

func (m *RestoreEnumerateResponse) GetComplete() bool

func (*RestoreEnumerateResponse) GetRestores

func (m *RestoreEnumerateResponse) GetRestores() []*RestoreObject

func (*RestoreEnumerateResponse) GetTotalCount

func (m *RestoreEnumerateResponse) GetTotalCount() uint64

func (*RestoreEnumerateResponse) Marshal

func (m *RestoreEnumerateResponse) Marshal() (dAtA []byte, err error)

func (*RestoreEnumerateResponse) MarshalTo

func (m *RestoreEnumerateResponse) MarshalTo(dAtA []byte) (int, error)

func (*RestoreEnumerateResponse) MarshalToSizedBuffer

func (m *RestoreEnumerateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RestoreEnumerateResponse) ProtoMessage

func (*RestoreEnumerateResponse) ProtoMessage()

func (*RestoreEnumerateResponse) Reset

func (m *RestoreEnumerateResponse) Reset()

func (*RestoreEnumerateResponse) Size

func (m *RestoreEnumerateResponse) Size() (n int)

func (*RestoreEnumerateResponse) String

func (m *RestoreEnumerateResponse) String() string

func (*RestoreEnumerateResponse) Unmarshal

func (m *RestoreEnumerateResponse) Unmarshal(dAtA []byte) error

func (*RestoreEnumerateResponse) XXX_DiscardUnknown

func (m *RestoreEnumerateResponse) XXX_DiscardUnknown()

func (*RestoreEnumerateResponse) XXX_Marshal

func (m *RestoreEnumerateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RestoreEnumerateResponse) XXX_Merge

func (m *RestoreEnumerateResponse) XXX_Merge(src proto.Message)

func (*RestoreEnumerateResponse) XXX_Size

func (m *RestoreEnumerateResponse) XXX_Size() int

func (*RestoreEnumerateResponse) XXX_Unmarshal

func (m *RestoreEnumerateResponse) XXX_Unmarshal(b []byte) error

type RestoreInfo

type RestoreInfo struct {
	// Name of backup to restore from
	Backup string `protobuf:"bytes,1,opt,name=backup,proto3" json:"backup,omitempty"`
	// Name of backup location to restore from.
	// backup_location is deprecated, not to be used.
	BackupLocation string `protobuf:"bytes,2,opt,name=backup_location,json=backupLocation,proto3" json:"backup_location,omitempty"`
	// Label selectors to choose resources
	LabelSelectors map[string]string `` /* 191-byte string literal not displayed */
	// Namespace Mapping
	NamespaceMapping map[string]string `` /* 197-byte string literal not displayed */
	// Restore replace policy type ("delete"/"retain")
	ReplacePolicy ReplacePolicy_Type              `protobuf:"varint,5,opt,name=replace_policy,json=replacePolicy,proto3,enum=ReplacePolicy_Type" json:"replace_policy,omitempty"`
	Status        *RestoreInfo_StatusInfo         `protobuf:"bytes,6,opt,name=status,proto3" json:"status,omitempty"`
	Resources     []*RestoreInfo_RestoredResource `protobuf:"bytes,7,rep,name=resources,proto3" json:"resources,omitempty"`
	Volumes       []*RestoreInfo_Volume           `protobuf:"bytes,8,rep,name=volumes,proto3" json:"volumes,omitempty"`
	// Name of the cluster
	Cluster                      string          `protobuf:"bytes,9,opt,name=cluster,proto3" json:"cluster,omitempty"`
	IncludeOptionalResourceTypes []string        `` /* 150-byte string literal not displayed */
	TotalSize                    uint64          `protobuf:"varint,11,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"`
	IncludeResources             []*ResourceInfo `protobuf:"bytes,12,rep,name=include_resources,json=includeResources,proto3" json:"include_resources,omitempty"`
	ResourceCount                uint64          `protobuf:"varint,13,opt,name=resource_count,json=resourceCount,proto3" json:"resource_count,omitempty"`
	StorkVersion                 string          `protobuf:"bytes,14,opt,name=stork_version,json=storkVersion,proto3" json:"stork_version,omitempty"`
	BackupLocationRef            *ObjectRef      `protobuf:"bytes,15,opt,name=backup_location_ref,json=backupLocationRef,proto3" json:"backup_location_ref,omitempty"`
}

Message for restore info

func NewPopulatedRestoreInfo

func NewPopulatedRestoreInfo(r randyApi, easy bool) *RestoreInfo

func (*RestoreInfo) Descriptor

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

func (*RestoreInfo) Equal

func (this *RestoreInfo) Equal(that interface{}) bool

func (*RestoreInfo) GetBackup

func (m *RestoreInfo) GetBackup() string

func (*RestoreInfo) GetBackupLocation

func (m *RestoreInfo) GetBackupLocation() string

func (*RestoreInfo) GetBackupLocationRef added in v1.2.1

func (m *RestoreInfo) GetBackupLocationRef() *ObjectRef

func (*RestoreInfo) GetCluster

func (m *RestoreInfo) GetCluster() string

func (*RestoreInfo) GetIncludeOptionalResourceTypes

func (m *RestoreInfo) GetIncludeOptionalResourceTypes() []string

func (*RestoreInfo) GetIncludeResources

func (m *RestoreInfo) GetIncludeResources() []*ResourceInfo

func (*RestoreInfo) GetLabelSelectors

func (m *RestoreInfo) GetLabelSelectors() map[string]string

func (*RestoreInfo) GetNamespaceMapping

func (m *RestoreInfo) GetNamespaceMapping() map[string]string

func (*RestoreInfo) GetReplacePolicy

func (m *RestoreInfo) GetReplacePolicy() ReplacePolicy_Type

func (*RestoreInfo) GetResourceCount added in v1.2.1

func (m *RestoreInfo) GetResourceCount() uint64

func (*RestoreInfo) GetResources

func (m *RestoreInfo) GetResources() []*RestoreInfo_RestoredResource

func (*RestoreInfo) GetStatus

func (m *RestoreInfo) GetStatus() *RestoreInfo_StatusInfo

func (*RestoreInfo) GetStorkVersion added in v1.2.1

func (m *RestoreInfo) GetStorkVersion() string

func (*RestoreInfo) GetTotalSize

func (m *RestoreInfo) GetTotalSize() uint64

func (*RestoreInfo) GetVolumes

func (m *RestoreInfo) GetVolumes() []*RestoreInfo_Volume

func (*RestoreInfo) Marshal

func (m *RestoreInfo) Marshal() (dAtA []byte, err error)

func (*RestoreInfo) MarshalTo

func (m *RestoreInfo) MarshalTo(dAtA []byte) (int, error)

func (*RestoreInfo) MarshalToSizedBuffer

func (m *RestoreInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RestoreInfo) ProtoMessage

func (*RestoreInfo) ProtoMessage()

func (*RestoreInfo) Reset

func (m *RestoreInfo) Reset()

func (*RestoreInfo) Size

func (m *RestoreInfo) Size() (n int)

func (*RestoreInfo) String

func (m *RestoreInfo) String() string

func (*RestoreInfo) Unmarshal

func (m *RestoreInfo) Unmarshal(dAtA []byte) error

func (*RestoreInfo) XXX_DiscardUnknown

func (m *RestoreInfo) XXX_DiscardUnknown()

func (*RestoreInfo) XXX_Marshal

func (m *RestoreInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RestoreInfo) XXX_Merge

func (m *RestoreInfo) XXX_Merge(src proto.Message)

func (*RestoreInfo) XXX_Size

func (m *RestoreInfo) XXX_Size() int

func (*RestoreInfo) XXX_Unmarshal

func (m *RestoreInfo) XXX_Unmarshal(b []byte) error

type RestoreInfo_RestoredResource

type RestoreInfo_RestoredResource struct {
	Name      string                  `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Namespace string                  `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Group     string                  `protobuf:"bytes,3,opt,name=group,proto3" json:"group,omitempty"`
	Kind      string                  `protobuf:"bytes,4,opt,name=kind,proto3" json:"kind,omitempty"`
	Version   string                  `protobuf:"bytes,5,opt,name=version,proto3" json:"version,omitempty"`
	Status    *RestoreInfo_StatusInfo `protobuf:"bytes,6,opt,name=status,proto3" json:"status,omitempty"`
}

func NewPopulatedRestoreInfo_RestoredResource

func NewPopulatedRestoreInfo_RestoredResource(r randyApi, easy bool) *RestoreInfo_RestoredResource

func (*RestoreInfo_RestoredResource) Descriptor

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

func (*RestoreInfo_RestoredResource) Equal

func (this *RestoreInfo_RestoredResource) Equal(that interface{}) bool

func (*RestoreInfo_RestoredResource) GetGroup

func (m *RestoreInfo_RestoredResource) GetGroup() string

func (*RestoreInfo_RestoredResource) GetKind

func (m *RestoreInfo_RestoredResource) GetKind() string

func (*RestoreInfo_RestoredResource) GetName

func (m *RestoreInfo_RestoredResource) GetName() string

func (*RestoreInfo_RestoredResource) GetNamespace

func (m *RestoreInfo_RestoredResource) GetNamespace() string

func (*RestoreInfo_RestoredResource) GetStatus

func (*RestoreInfo_RestoredResource) GetVersion

func (m *RestoreInfo_RestoredResource) GetVersion() string

func (*RestoreInfo_RestoredResource) Marshal

func (m *RestoreInfo_RestoredResource) Marshal() (dAtA []byte, err error)

func (*RestoreInfo_RestoredResource) MarshalTo

func (m *RestoreInfo_RestoredResource) MarshalTo(dAtA []byte) (int, error)

func (*RestoreInfo_RestoredResource) MarshalToSizedBuffer

func (m *RestoreInfo_RestoredResource) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RestoreInfo_RestoredResource) ProtoMessage

func (*RestoreInfo_RestoredResource) ProtoMessage()

func (*RestoreInfo_RestoredResource) Reset

func (m *RestoreInfo_RestoredResource) Reset()

func (*RestoreInfo_RestoredResource) Size

func (m *RestoreInfo_RestoredResource) Size() (n int)

func (*RestoreInfo_RestoredResource) String

func (*RestoreInfo_RestoredResource) Unmarshal

func (m *RestoreInfo_RestoredResource) Unmarshal(dAtA []byte) error

func (*RestoreInfo_RestoredResource) XXX_DiscardUnknown

func (m *RestoreInfo_RestoredResource) XXX_DiscardUnknown()

func (*RestoreInfo_RestoredResource) XXX_Marshal

func (m *RestoreInfo_RestoredResource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RestoreInfo_RestoredResource) XXX_Merge

func (m *RestoreInfo_RestoredResource) XXX_Merge(src proto.Message)

func (*RestoreInfo_RestoredResource) XXX_Size

func (m *RestoreInfo_RestoredResource) XXX_Size() int

func (*RestoreInfo_RestoredResource) XXX_Unmarshal

func (m *RestoreInfo_RestoredResource) XXX_Unmarshal(b []byte) error

type RestoreInfo_StatusInfo

type RestoreInfo_StatusInfo struct {
	Status RestoreInfo_StatusInfo_Status `protobuf:"varint,1,opt,name=status,proto3,enum=RestoreInfo_StatusInfo_Status" json:"status,omitempty"`
	Reason string                        `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"`
}

Message for maintaining status of the object.

func NewPopulatedRestoreInfo_StatusInfo

func NewPopulatedRestoreInfo_StatusInfo(r randyApi, easy bool) *RestoreInfo_StatusInfo

func (*RestoreInfo_StatusInfo) Descriptor

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

func (*RestoreInfo_StatusInfo) Equal

func (this *RestoreInfo_StatusInfo) Equal(that interface{}) bool

func (*RestoreInfo_StatusInfo) GetReason

func (m *RestoreInfo_StatusInfo) GetReason() string

func (*RestoreInfo_StatusInfo) GetStatus

func (*RestoreInfo_StatusInfo) Marshal

func (m *RestoreInfo_StatusInfo) Marshal() (dAtA []byte, err error)

func (*RestoreInfo_StatusInfo) MarshalTo

func (m *RestoreInfo_StatusInfo) MarshalTo(dAtA []byte) (int, error)

func (*RestoreInfo_StatusInfo) MarshalToSizedBuffer

func (m *RestoreInfo_StatusInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RestoreInfo_StatusInfo) ProtoMessage

func (*RestoreInfo_StatusInfo) ProtoMessage()

func (*RestoreInfo_StatusInfo) Reset

func (m *RestoreInfo_StatusInfo) Reset()

func (*RestoreInfo_StatusInfo) Size

func (m *RestoreInfo_StatusInfo) Size() (n int)

func (*RestoreInfo_StatusInfo) String

func (m *RestoreInfo_StatusInfo) String() string

func (*RestoreInfo_StatusInfo) Unmarshal

func (m *RestoreInfo_StatusInfo) Unmarshal(dAtA []byte) error

func (*RestoreInfo_StatusInfo) XXX_DiscardUnknown

func (m *RestoreInfo_StatusInfo) XXX_DiscardUnknown()

func (*RestoreInfo_StatusInfo) XXX_Marshal

func (m *RestoreInfo_StatusInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RestoreInfo_StatusInfo) XXX_Merge

func (m *RestoreInfo_StatusInfo) XXX_Merge(src proto.Message)

func (*RestoreInfo_StatusInfo) XXX_Size

func (m *RestoreInfo_StatusInfo) XXX_Size() int

func (*RestoreInfo_StatusInfo) XXX_Unmarshal

func (m *RestoreInfo_StatusInfo) XXX_Unmarshal(b []byte) error

type RestoreInfo_StatusInfo_Status

type RestoreInfo_StatusInfo_Status int32
const (
	RestoreInfo_StatusInfo_Invalid        RestoreInfo_StatusInfo_Status = 0
	RestoreInfo_StatusInfo_Pending        RestoreInfo_StatusInfo_Status = 1
	RestoreInfo_StatusInfo_InProgress     RestoreInfo_StatusInfo_Status = 2
	RestoreInfo_StatusInfo_Aborted        RestoreInfo_StatusInfo_Status = 3
	RestoreInfo_StatusInfo_Failed         RestoreInfo_StatusInfo_Status = 4
	RestoreInfo_StatusInfo_Deleting       RestoreInfo_StatusInfo_Status = 5
	RestoreInfo_StatusInfo_Success        RestoreInfo_StatusInfo_Status = 6
	RestoreInfo_StatusInfo_Retained       RestoreInfo_StatusInfo_Status = 7
	RestoreInfo_StatusInfo_PartialSuccess RestoreInfo_StatusInfo_Status = 8
)

func (RestoreInfo_StatusInfo_Status) EnumDescriptor

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

func (RestoreInfo_StatusInfo_Status) String

type RestoreInfo_Volume

type RestoreInfo_Volume struct {
	Pvc             string                  `protobuf:"bytes,1,opt,name=pvc,proto3" json:"pvc,omitempty"`
	SourceNamespace string                  `protobuf:"bytes,2,opt,name=source_namespace,json=sourceNamespace,proto3" json:"source_namespace,omitempty"`
	SourceVolume    string                  `protobuf:"bytes,3,opt,name=source_volume,json=sourceVolume,proto3" json:"source_volume,omitempty"`
	RestoreVolume   string                  `protobuf:"bytes,4,opt,name=restore_volume,json=restoreVolume,proto3" json:"restore_volume,omitempty"`
	Status          *RestoreInfo_StatusInfo `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"`
	DriverName      string                  `protobuf:"bytes,6,opt,name=driver_name,json=driverName,proto3" json:"driver_name,omitempty"`
	Zones           []string                `protobuf:"bytes,7,rep,name=zones,proto3" json:"zones,omitempty"`
	Options         map[string]string       `` /* 155-byte string literal not displayed */
	TotalSize       uint64                  `protobuf:"varint,9,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"`
}

func NewPopulatedRestoreInfo_Volume

func NewPopulatedRestoreInfo_Volume(r randyApi, easy bool) *RestoreInfo_Volume

func (*RestoreInfo_Volume) Descriptor

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

func (*RestoreInfo_Volume) Equal

func (this *RestoreInfo_Volume) Equal(that interface{}) bool

func (*RestoreInfo_Volume) GetDriverName

func (m *RestoreInfo_Volume) GetDriverName() string

func (*RestoreInfo_Volume) GetOptions

func (m *RestoreInfo_Volume) GetOptions() map[string]string

func (*RestoreInfo_Volume) GetPvc

func (m *RestoreInfo_Volume) GetPvc() string

func (*RestoreInfo_Volume) GetRestoreVolume

func (m *RestoreInfo_Volume) GetRestoreVolume() string

func (*RestoreInfo_Volume) GetSourceNamespace

func (m *RestoreInfo_Volume) GetSourceNamespace() string

func (*RestoreInfo_Volume) GetSourceVolume

func (m *RestoreInfo_Volume) GetSourceVolume() string

func (*RestoreInfo_Volume) GetStatus

func (*RestoreInfo_Volume) GetTotalSize

func (m *RestoreInfo_Volume) GetTotalSize() uint64

func (*RestoreInfo_Volume) GetZones

func (m *RestoreInfo_Volume) GetZones() []string

func (*RestoreInfo_Volume) Marshal

func (m *RestoreInfo_Volume) Marshal() (dAtA []byte, err error)

func (*RestoreInfo_Volume) MarshalTo

func (m *RestoreInfo_Volume) MarshalTo(dAtA []byte) (int, error)

func (*RestoreInfo_Volume) MarshalToSizedBuffer

func (m *RestoreInfo_Volume) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RestoreInfo_Volume) ProtoMessage

func (*RestoreInfo_Volume) ProtoMessage()

func (*RestoreInfo_Volume) Reset

func (m *RestoreInfo_Volume) Reset()

func (*RestoreInfo_Volume) Size

func (m *RestoreInfo_Volume) Size() (n int)

func (*RestoreInfo_Volume) String

func (m *RestoreInfo_Volume) String() string

func (*RestoreInfo_Volume) Unmarshal

func (m *RestoreInfo_Volume) Unmarshal(dAtA []byte) error

func (*RestoreInfo_Volume) XXX_DiscardUnknown

func (m *RestoreInfo_Volume) XXX_DiscardUnknown()

func (*RestoreInfo_Volume) XXX_Marshal

func (m *RestoreInfo_Volume) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RestoreInfo_Volume) XXX_Merge

func (m *RestoreInfo_Volume) XXX_Merge(src proto.Message)

func (*RestoreInfo_Volume) XXX_Size

func (m *RestoreInfo_Volume) XXX_Size() int

func (*RestoreInfo_Volume) XXX_Unmarshal

func (m *RestoreInfo_Volume) XXX_Unmarshal(b []byte) error

type RestoreInspectRequest

type RestoreInspectRequest struct {
	OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
	Name  string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
}

Define RestoreInspectRequest struct

func NewPopulatedRestoreInspectRequest

func NewPopulatedRestoreInspectRequest(r randyApi, easy bool) *RestoreInspectRequest

func (*RestoreInspectRequest) Descriptor

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

func (*RestoreInspectRequest) Equal

func (this *RestoreInspectRequest) Equal(that interface{}) bool

func (*RestoreInspectRequest) GetName

func (m *RestoreInspectRequest) GetName() string

func (*RestoreInspectRequest) GetOrgId

func (m *RestoreInspectRequest) GetOrgId() string

func (*RestoreInspectRequest) Marshal

func (m *RestoreInspectRequest) Marshal() (dAtA []byte, err error)

func (*RestoreInspectRequest) MarshalTo

func (m *RestoreInspectRequest) MarshalTo(dAtA []byte) (int, error)

func (*RestoreInspectRequest) MarshalToSizedBuffer

func (m *RestoreInspectRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RestoreInspectRequest) ProtoMessage

func (*RestoreInspectRequest) ProtoMessage()

func (*RestoreInspectRequest) Reset

func (m *RestoreInspectRequest) Reset()

func (*RestoreInspectRequest) Size

func (m *RestoreInspectRequest) Size() (n int)

func (*RestoreInspectRequest) String

func (m *RestoreInspectRequest) String() string

func (*RestoreInspectRequest) Unmarshal

func (m *RestoreInspectRequest) Unmarshal(dAtA []byte) error

func (*RestoreInspectRequest) XXX_DiscardUnknown

func (m *RestoreInspectRequest) XXX_DiscardUnknown()

func (*RestoreInspectRequest) XXX_Marshal

func (m *RestoreInspectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RestoreInspectRequest) XXX_Merge

func (m *RestoreInspectRequest) XXX_Merge(src proto.Message)

func (*RestoreInspectRequest) XXX_Size

func (m *RestoreInspectRequest) XXX_Size() int

func (*RestoreInspectRequest) XXX_Unmarshal

func (m *RestoreInspectRequest) XXX_Unmarshal(b []byte) error

type RestoreInspectResponse

type RestoreInspectResponse struct {
	Restore *RestoreObject `protobuf:"bytes,1,opt,name=restore,proto3" json:"restore,omitempty"`
}

Define RestoreInspectResponse struct

func NewPopulatedRestoreInspectResponse

func NewPopulatedRestoreInspectResponse(r randyApi, easy bool) *RestoreInspectResponse

func (*RestoreInspectResponse) Descriptor

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

func (*RestoreInspectResponse) Equal

func (this *RestoreInspectResponse) Equal(that interface{}) bool

func (*RestoreInspectResponse) GetRestore

func (m *RestoreInspectResponse) GetRestore() *RestoreObject

func (*RestoreInspectResponse) Marshal

func (m *RestoreInspectResponse) Marshal() (dAtA []byte, err error)

func (*RestoreInspectResponse) MarshalTo

func (m *RestoreInspectResponse) MarshalTo(dAtA []byte) (int, error)

func (*RestoreInspectResponse) MarshalToSizedBuffer

func (m *RestoreInspectResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RestoreInspectResponse) ProtoMessage

func (*RestoreInspectResponse) ProtoMessage()

func (*RestoreInspectResponse) Reset

func (m *RestoreInspectResponse) Reset()

func (*RestoreInspectResponse) Size

func (m *RestoreInspectResponse) Size() (n int)

func (*RestoreInspectResponse) String

func (m *RestoreInspectResponse) String() string

func (*RestoreInspectResponse) Unmarshal

func (m *RestoreInspectResponse) Unmarshal(dAtA []byte) error

func (*RestoreInspectResponse) XXX_DiscardUnknown

func (m *RestoreInspectResponse) XXX_DiscardUnknown()

func (*RestoreInspectResponse) XXX_Marshal

func (m *RestoreInspectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RestoreInspectResponse) XXX_Merge

func (m *RestoreInspectResponse) XXX_Merge(src proto.Message)

func (*RestoreInspectResponse) XXX_Size

func (m *RestoreInspectResponse) XXX_Size() int

func (*RestoreInspectResponse) XXX_Unmarshal

func (m *RestoreInspectResponse) XXX_Unmarshal(b []byte) error

type RestoreObject

type RestoreObject struct {
	*Metadata    `protobuf:"bytes,1,opt,name=metadata,proto3,embedded=metadata" json:"metadata,omitempty"`
	*RestoreInfo `protobuf:"bytes,2,opt,name=restore_info,json=restoreInfo,proto3,embedded=restore_info" json:"restore_info,omitempty"`
}

Message for Restore object which will be stored in Datastore.

func NewPopulatedRestoreObject

func NewPopulatedRestoreObject(r randyApi, easy bool) *RestoreObject

func (*RestoreObject) Descriptor

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

func (*RestoreObject) Equal

func (this *RestoreObject) Equal(that interface{}) bool

func (*RestoreObject) Marshal

func (m *RestoreObject) Marshal() (dAtA []byte, err error)

func (*RestoreObject) MarshalTo

func (m *RestoreObject) MarshalTo(dAtA []byte) (int, error)

func (*RestoreObject) MarshalToSizedBuffer

func (m *RestoreObject) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RestoreObject) ProtoMessage

func (*RestoreObject) ProtoMessage()

func (*RestoreObject) Reset

func (m *RestoreObject) Reset()

func (*RestoreObject) Size

func (m *RestoreObject) Size() (n int)

func (*RestoreObject) String

func (m *RestoreObject) String() string

func (*RestoreObject) Unmarshal

func (m *RestoreObject) Unmarshal(dAtA []byte) error

func (*RestoreObject) XXX_DiscardUnknown

func (m *RestoreObject) XXX_DiscardUnknown()

func (*RestoreObject) XXX_Marshal

func (m *RestoreObject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RestoreObject) XXX_Merge

func (m *RestoreObject) XXX_Merge(src proto.Message)

func (*RestoreObject) XXX_Size

func (m *RestoreObject) XXX_Size() int

func (*RestoreObject) XXX_Unmarshal

func (m *RestoreObject) XXX_Unmarshal(b []byte) error

type RestoreServer

type RestoreServer interface {
	// Create creates new restore object in datastore
	// It will also trigger a restore operation on the target cluster
	Create(context.Context, *RestoreCreateRequest) (*RestoreCreateResponse, error)
	// Update given restore details
	Update(context.Context, *RestoreUpdateRequest) (*RestoreUpdateResponse, error)
	// Enumerate returns a list of restore objects
	Enumerate(context.Context, *RestoreEnumerateRequest) (*RestoreEnumerateResponse, error)
	// Inspect returns detailed information about specified restore object
	Inspect(context.Context, *RestoreInspectRequest) (*RestoreInspectResponse, error)
	// Delete removes a restore object
	Delete(context.Context, *RestoreDeleteRequest) (*RestoreDeleteResponse, error)
}

RestoreServer is the server API for Restore service.

type RestoreUpdateRequest

type RestoreUpdateRequest struct {
	*CreateMetadata `protobuf:"bytes,1,opt,name=metadata,proto3,embedded=metadata" json:"metadata,omitempty"`
}

Define RestoreUpdateRequest struct

func NewPopulatedRestoreUpdateRequest

func NewPopulatedRestoreUpdateRequest(r randyApi, easy bool) *RestoreUpdateRequest

func (*RestoreUpdateRequest) Descriptor

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

func (*RestoreUpdateRequest) Equal

func (this *RestoreUpdateRequest) Equal(that interface{}) bool

func (*RestoreUpdateRequest) Marshal

func (m *RestoreUpdateRequest) Marshal() (dAtA []byte, err error)

func (*RestoreUpdateRequest) MarshalTo

func (m *RestoreUpdateRequest) MarshalTo(dAtA []byte) (int, error)

func (*RestoreUpdateRequest) MarshalToSizedBuffer

func (m *RestoreUpdateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RestoreUpdateRequest) ProtoMessage

func (*RestoreUpdateRequest) ProtoMessage()

func (*RestoreUpdateRequest) Reset

func (m *RestoreUpdateRequest) Reset()

func (*RestoreUpdateRequest) Size

func (m *RestoreUpdateRequest) Size() (n int)

func (*RestoreUpdateRequest) String

func (m *RestoreUpdateRequest) String() string

func (*RestoreUpdateRequest) Unmarshal

func (m *RestoreUpdateRequest) Unmarshal(dAtA []byte) error

func (*RestoreUpdateRequest) XXX_DiscardUnknown

func (m *RestoreUpdateRequest) XXX_DiscardUnknown()

func (*RestoreUpdateRequest) XXX_Marshal

func (m *RestoreUpdateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RestoreUpdateRequest) XXX_Merge

func (m *RestoreUpdateRequest) XXX_Merge(src proto.Message)

func (*RestoreUpdateRequest) XXX_Size

func (m *RestoreUpdateRequest) XXX_Size() int

func (*RestoreUpdateRequest) XXX_Unmarshal

func (m *RestoreUpdateRequest) XXX_Unmarshal(b []byte) error

type RestoreUpdateResponse

type RestoreUpdateResponse struct {
}

Define RestoreUpdateResponse struct

func NewPopulatedRestoreUpdateResponse

func NewPopulatedRestoreUpdateResponse(r randyApi, easy bool) *RestoreUpdateResponse

func (*RestoreUpdateResponse) Descriptor

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

func (*RestoreUpdateResponse) Equal

func (this *RestoreUpdateResponse) Equal(that interface{}) bool

func (*RestoreUpdateResponse) Marshal

func (m *RestoreUpdateResponse) Marshal() (dAtA []byte, err error)

func (*RestoreUpdateResponse) MarshalTo

func (m *RestoreUpdateResponse) MarshalTo(dAtA []byte) (int, error)

func (*RestoreUpdateResponse) MarshalToSizedBuffer

func (m *RestoreUpdateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RestoreUpdateResponse) ProtoMessage

func (*RestoreUpdateResponse) ProtoMessage()

func (*RestoreUpdateResponse) Reset

func (m *RestoreUpdateResponse) Reset()

func (*RestoreUpdateResponse) Size

func (m *RestoreUpdateResponse) Size() (n int)

func (*RestoreUpdateResponse) String

func (m *RestoreUpdateResponse) String() string

func (*RestoreUpdateResponse) Unmarshal

func (m *RestoreUpdateResponse) Unmarshal(dAtA []byte) error

func (*RestoreUpdateResponse) XXX_DiscardUnknown

func (m *RestoreUpdateResponse) XXX_DiscardUnknown()

func (*RestoreUpdateResponse) XXX_Marshal

func (m *RestoreUpdateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RestoreUpdateResponse) XXX_Merge

func (m *RestoreUpdateResponse) XXX_Merge(src proto.Message)

func (*RestoreUpdateResponse) XXX_Size

func (m *RestoreUpdateResponse) XXX_Size() int

func (*RestoreUpdateResponse) XXX_Unmarshal

func (m *RestoreUpdateResponse) XXX_Unmarshal(b []byte) error

type RoleClient added in v1.2.1

type RoleClient interface {
	// Create creates new role object in datastore
	Create(ctx context.Context, in *RoleCreateRequest, opts ...grpc.CallOption) (*RoleCreateResponse, error)
	// Enumerate returns a list of roles object
	Enumerate(ctx context.Context, in *RoleEnumerateRequest, opts ...grpc.CallOption) (*RoleEnumerateResponse, error)
	// Inspect returns detailed information about requested role object
	Inspect(ctx context.Context, in *RoleInspectRequest, opts ...grpc.CallOption) (*RoleInspectResponse, error)
	// Update given role information
	Update(ctx context.Context, in *RoleUpdateRequest, opts ...grpc.CallOption) (*RoleUpdateResponse, error)
	// Delete removes given role from px-backup
	Delete(ctx context.Context, in *RoleDeleteRequest, opts ...grpc.CallOption) (*RoleDeleteResponse, error)
	// Permission returns list of service,apis permission for given user
	Permission(ctx context.Context, in *RolePermissionRequest, opts ...grpc.CallOption) (*RolePermissionResponse, error)
}

RoleClient is the client API for Role service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewRoleClient added in v1.2.1

func NewRoleClient(cc *grpc.ClientConn) RoleClient

type RoleConfig added in v1.2.1

type RoleConfig struct {
	// The gRPC service name
	Services []string `protobuf:"bytes,1,rep,name=services,proto3" json:"services,omitempty"`
	// The API name in the service in lowercase
	Apis []string `protobuf:"bytes,2,rep,name=apis,proto3" json:"apis,omitempty"`
}

RoleConfig object for set of rules associated with each role object services - PX-Backup services names apis - allowed apis for px-backup services

func NewPopulatedRoleConfig added in v1.2.1

func NewPopulatedRoleConfig(r randyApi, easy bool) *RoleConfig

func (*RoleConfig) Descriptor added in v1.2.1

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

func (*RoleConfig) Equal added in v1.2.1

func (this *RoleConfig) Equal(that interface{}) bool

func (*RoleConfig) GetApis added in v1.2.1

func (m *RoleConfig) GetApis() []string

func (*RoleConfig) GetServices added in v1.2.1

func (m *RoleConfig) GetServices() []string

func (*RoleConfig) Marshal added in v1.2.1

func (m *RoleConfig) Marshal() (dAtA []byte, err error)

func (*RoleConfig) MarshalTo added in v1.2.1

func (m *RoleConfig) MarshalTo(dAtA []byte) (int, error)

func (*RoleConfig) MarshalToSizedBuffer added in v1.2.1

func (m *RoleConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RoleConfig) ProtoMessage added in v1.2.1

func (*RoleConfig) ProtoMessage()

func (*RoleConfig) Reset added in v1.2.1

func (m *RoleConfig) Reset()

func (*RoleConfig) Size added in v1.2.1

func (m *RoleConfig) Size() (n int)

func (*RoleConfig) String added in v1.2.1

func (m *RoleConfig) String() string

func (*RoleConfig) Unmarshal added in v1.2.1

func (m *RoleConfig) Unmarshal(dAtA []byte) error

func (*RoleConfig) XXX_DiscardUnknown added in v1.2.1

func (m *RoleConfig) XXX_DiscardUnknown()

func (*RoleConfig) XXX_Marshal added in v1.2.1

func (m *RoleConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RoleConfig) XXX_Merge added in v1.2.1

func (m *RoleConfig) XXX_Merge(src proto.Message)

func (*RoleConfig) XXX_Size added in v1.2.1

func (m *RoleConfig) XXX_Size() int

func (*RoleConfig) XXX_Unmarshal added in v1.2.1

func (m *RoleConfig) XXX_Unmarshal(b []byte) error

type RoleCreateRequest added in v1.2.1

type RoleCreateRequest struct {
	*CreateMetadata `protobuf:"bytes,1,opt,name=metadata,proto3,embedded=metadata" json:"metadata,omitempty"`
	Rules           []*RoleConfig `protobuf:"bytes,2,rep,name=rules,proto3" json:"rules,omitempty"`
	// Keyclock UID associated with role
	RoleId string `protobuf:"bytes,3,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"`
}

RoleCreateRequest defines roleobject create structure Metadata with each role object RoleConfig set of rules over api services for given role object

func NewPopulatedRoleCreateRequest added in v1.2.1

func NewPopulatedRoleCreateRequest(r randyApi, easy bool) *RoleCreateRequest

func (*RoleCreateRequest) Descriptor added in v1.2.1

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

func (*RoleCreateRequest) Equal added in v1.2.1

func (this *RoleCreateRequest) Equal(that interface{}) bool

func (*RoleCreateRequest) GetRoleId added in v1.2.1

func (m *RoleCreateRequest) GetRoleId() string

func (*RoleCreateRequest) GetRules added in v1.2.1

func (m *RoleCreateRequest) GetRules() []*RoleConfig

func (*RoleCreateRequest) Marshal added in v1.2.1

func (m *RoleCreateRequest) Marshal() (dAtA []byte, err error)

func (*RoleCreateRequest) MarshalTo added in v1.2.1

func (m *RoleCreateRequest) MarshalTo(dAtA []byte) (int, error)

func (*RoleCreateRequest) MarshalToSizedBuffer added in v1.2.1

func (m *RoleCreateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RoleCreateRequest) ProtoMessage added in v1.2.1

func (*RoleCreateRequest) ProtoMessage()

func (*RoleCreateRequest) Reset added in v1.2.1

func (m *RoleCreateRequest) Reset()

func (*RoleCreateRequest) Size added in v1.2.1

func (m *RoleCreateRequest) Size() (n int)

func (*RoleCreateRequest) String added in v1.2.1

func (m *RoleCreateRequest) String() string

func (*RoleCreateRequest) Unmarshal added in v1.2.1

func (m *RoleCreateRequest) Unmarshal(dAtA []byte) error

func (*RoleCreateRequest) XXX_DiscardUnknown added in v1.2.1

func (m *RoleCreateRequest) XXX_DiscardUnknown()

func (*RoleCreateRequest) XXX_Marshal added in v1.2.1

func (m *RoleCreateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RoleCreateRequest) XXX_Merge added in v1.2.1

func (m *RoleCreateRequest) XXX_Merge(src proto.Message)

func (*RoleCreateRequest) XXX_Size added in v1.2.1

func (m *RoleCreateRequest) XXX_Size() int

func (*RoleCreateRequest) XXX_Unmarshal added in v1.2.1

func (m *RoleCreateRequest) XXX_Unmarshal(b []byte) error

type RoleCreateResponse added in v1.2.1

type RoleCreateResponse struct {
}

func NewPopulatedRoleCreateResponse added in v1.2.1

func NewPopulatedRoleCreateResponse(r randyApi, easy bool) *RoleCreateResponse

func (*RoleCreateResponse) Descriptor added in v1.2.1

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

func (*RoleCreateResponse) Equal added in v1.2.1

func (this *RoleCreateResponse) Equal(that interface{}) bool

func (*RoleCreateResponse) Marshal added in v1.2.1

func (m *RoleCreateResponse) Marshal() (dAtA []byte, err error)

func (*RoleCreateResponse) MarshalTo added in v1.2.1

func (m *RoleCreateResponse) MarshalTo(dAtA []byte) (int, error)

func (*RoleCreateResponse) MarshalToSizedBuffer added in v1.2.1

func (m *RoleCreateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RoleCreateResponse) ProtoMessage added in v1.2.1

func (*RoleCreateResponse) ProtoMessage()

func (*RoleCreateResponse) Reset added in v1.2.1

func (m *RoleCreateResponse) Reset()

func (*RoleCreateResponse) Size added in v1.2.1

func (m *RoleCreateResponse) Size() (n int)

func (*RoleCreateResponse) String added in v1.2.1

func (m *RoleCreateResponse) String() string

func (*RoleCreateResponse) Unmarshal added in v1.2.1

func (m *RoleCreateResponse) Unmarshal(dAtA []byte) error

func (*RoleCreateResponse) XXX_DiscardUnknown added in v1.2.1

func (m *RoleCreateResponse) XXX_DiscardUnknown()

func (*RoleCreateResponse) XXX_Marshal added in v1.2.1

func (m *RoleCreateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RoleCreateResponse) XXX_Merge added in v1.2.1

func (m *RoleCreateResponse) XXX_Merge(src proto.Message)

func (*RoleCreateResponse) XXX_Size added in v1.2.1

func (m *RoleCreateResponse) XXX_Size() int

func (*RoleCreateResponse) XXX_Unmarshal added in v1.2.1

func (m *RoleCreateResponse) XXX_Unmarshal(b []byte) error

type RoleDeleteRequest added in v1.2.1

type RoleDeleteRequest struct {
	OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
	Name  string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Uid   string `protobuf:"bytes,3,opt,name=uid,proto3" json:"uid,omitempty"`
}

Define RoleDeleteRequest struct

func NewPopulatedRoleDeleteRequest added in v1.2.1

func NewPopulatedRoleDeleteRequest(r randyApi, easy bool) *RoleDeleteRequest

func (*RoleDeleteRequest) Descriptor added in v1.2.1

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

func (*RoleDeleteRequest) Equal added in v1.2.1

func (this *RoleDeleteRequest) Equal(that interface{}) bool

func (*RoleDeleteRequest) GetName added in v1.2.1

func (m *RoleDeleteRequest) GetName() string

func (*RoleDeleteRequest) GetOrgId added in v1.2.1

func (m *RoleDeleteRequest) GetOrgId() string

func (*RoleDeleteRequest) GetUid added in v1.2.1

func (m *RoleDeleteRequest) GetUid() string

func (*RoleDeleteRequest) Marshal added in v1.2.1

func (m *RoleDeleteRequest) Marshal() (dAtA []byte, err error)

func (*RoleDeleteRequest) MarshalTo added in v1.2.1

func (m *RoleDeleteRequest) MarshalTo(dAtA []byte) (int, error)

func (*RoleDeleteRequest) MarshalToSizedBuffer added in v1.2.1

func (m *RoleDeleteRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RoleDeleteRequest) ProtoMessage added in v1.2.1

func (*RoleDeleteRequest) ProtoMessage()

func (*RoleDeleteRequest) Reset added in v1.2.1

func (m *RoleDeleteRequest) Reset()

func (*RoleDeleteRequest) Size added in v1.2.1

func (m *RoleDeleteRequest) Size() (n int)

func (*RoleDeleteRequest) String added in v1.2.1

func (m *RoleDeleteRequest) String() string

func (*RoleDeleteRequest) Unmarshal added in v1.2.1

func (m *RoleDeleteRequest) Unmarshal(dAtA []byte) error

func (*RoleDeleteRequest) XXX_DiscardUnknown added in v1.2.1

func (m *RoleDeleteRequest) XXX_DiscardUnknown()

func (*RoleDeleteRequest) XXX_Marshal added in v1.2.1

func (m *RoleDeleteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RoleDeleteRequest) XXX_Merge added in v1.2.1

func (m *RoleDeleteRequest) XXX_Merge(src proto.Message)

func (*RoleDeleteRequest) XXX_Size added in v1.2.1

func (m *RoleDeleteRequest) XXX_Size() int

func (*RoleDeleteRequest) XXX_Unmarshal added in v1.2.1

func (m *RoleDeleteRequest) XXX_Unmarshal(b []byte) error

type RoleDeleteResponse added in v1.2.1

type RoleDeleteResponse struct {
}

Define RoleDeleteResponse struct

func NewPopulatedRoleDeleteResponse added in v1.2.1

func NewPopulatedRoleDeleteResponse(r randyApi, easy bool) *RoleDeleteResponse

func (*RoleDeleteResponse) Descriptor added in v1.2.1

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

func (*RoleDeleteResponse) Equal added in v1.2.1

func (this *RoleDeleteResponse) Equal(that interface{}) bool

func (*RoleDeleteResponse) Marshal added in v1.2.1

func (m *RoleDeleteResponse) Marshal() (dAtA []byte, err error)

func (*RoleDeleteResponse) MarshalTo added in v1.2.1

func (m *RoleDeleteResponse) MarshalTo(dAtA []byte) (int, error)

func (*RoleDeleteResponse) MarshalToSizedBuffer added in v1.2.1

func (m *RoleDeleteResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RoleDeleteResponse) ProtoMessage added in v1.2.1

func (*RoleDeleteResponse) ProtoMessage()

func (*RoleDeleteResponse) Reset added in v1.2.1

func (m *RoleDeleteResponse) Reset()

func (*RoleDeleteResponse) Size added in v1.2.1

func (m *RoleDeleteResponse) Size() (n int)

func (*RoleDeleteResponse) String added in v1.2.1

func (m *RoleDeleteResponse) String() string

func (*RoleDeleteResponse) Unmarshal added in v1.2.1

func (m *RoleDeleteResponse) Unmarshal(dAtA []byte) error

func (*RoleDeleteResponse) XXX_DiscardUnknown added in v1.2.1

func (m *RoleDeleteResponse) XXX_DiscardUnknown()

func (*RoleDeleteResponse) XXX_Marshal added in v1.2.1

func (m *RoleDeleteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RoleDeleteResponse) XXX_Merge added in v1.2.1

func (m *RoleDeleteResponse) XXX_Merge(src proto.Message)

func (*RoleDeleteResponse) XXX_Size added in v1.2.1

func (m *RoleDeleteResponse) XXX_Size() int

func (*RoleDeleteResponse) XXX_Unmarshal added in v1.2.1

func (m *RoleDeleteResponse) XXX_Unmarshal(b []byte) error

type RoleEnumerateRequest added in v1.2.1

type RoleEnumerateRequest struct {
	OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
	// Optional arguments for enumeration
	*EnumerateOptions `` /* 136-byte string literal not displayed */
}

Define RoleEnumerateRequest struct

func NewPopulatedRoleEnumerateRequest added in v1.2.1

func NewPopulatedRoleEnumerateRequest(r randyApi, easy bool) *RoleEnumerateRequest

func (*RoleEnumerateRequest) Descriptor added in v1.2.1

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

func (*RoleEnumerateRequest) Equal added in v1.2.1

func (this *RoleEnumerateRequest) Equal(that interface{}) bool

func (*RoleEnumerateRequest) GetOrgId added in v1.2.1

func (m *RoleEnumerateRequest) GetOrgId() string

func (*RoleEnumerateRequest) Marshal added in v1.2.1

func (m *RoleEnumerateRequest) Marshal() (dAtA []byte, err error)

func (*RoleEnumerateRequest) MarshalTo added in v1.2.1

func (m *RoleEnumerateRequest) MarshalTo(dAtA []byte) (int, error)

func (*RoleEnumerateRequest) MarshalToSizedBuffer added in v1.2.1

func (m *RoleEnumerateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RoleEnumerateRequest) ProtoMessage added in v1.2.1

func (*RoleEnumerateRequest) ProtoMessage()

func (*RoleEnumerateRequest) Reset added in v1.2.1

func (m *RoleEnumerateRequest) Reset()

func (*RoleEnumerateRequest) Size added in v1.2.1

func (m *RoleEnumerateRequest) Size() (n int)

func (*RoleEnumerateRequest) String added in v1.2.1

func (m *RoleEnumerateRequest) String() string

func (*RoleEnumerateRequest) Unmarshal added in v1.2.1

func (m *RoleEnumerateRequest) Unmarshal(dAtA []byte) error

func (*RoleEnumerateRequest) XXX_DiscardUnknown added in v1.2.1

func (m *RoleEnumerateRequest) XXX_DiscardUnknown()

func (*RoleEnumerateRequest) XXX_Marshal added in v1.2.1

func (m *RoleEnumerateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RoleEnumerateRequest) XXX_Merge added in v1.2.1

func (m *RoleEnumerateRequest) XXX_Merge(src proto.Message)

func (*RoleEnumerateRequest) XXX_Size added in v1.2.1

func (m *RoleEnumerateRequest) XXX_Size() int

func (*RoleEnumerateRequest) XXX_Unmarshal added in v1.2.1

func (m *RoleEnumerateRequest) XXX_Unmarshal(b []byte) error

type RoleEnumerateResponse added in v1.2.1

type RoleEnumerateResponse struct {
	Roles []*RoleObject `protobuf:"bytes,1,rep,name=roles,proto3" json:"roles,omitempty"`
}

Define RoleEnumerateResponse struct

func NewPopulatedRoleEnumerateResponse added in v1.2.1

func NewPopulatedRoleEnumerateResponse(r randyApi, easy bool) *RoleEnumerateResponse

func (*RoleEnumerateResponse) Descriptor added in v1.2.1

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

func (*RoleEnumerateResponse) Equal added in v1.2.1

func (this *RoleEnumerateResponse) Equal(that interface{}) bool

func (*RoleEnumerateResponse) GetRoles added in v1.2.1

func (m *RoleEnumerateResponse) GetRoles() []*RoleObject

func (*RoleEnumerateResponse) Marshal added in v1.2.1

func (m *RoleEnumerateResponse) Marshal() (dAtA []byte, err error)

func (*RoleEnumerateResponse) MarshalTo added in v1.2.1

func (m *RoleEnumerateResponse) MarshalTo(dAtA []byte) (int, error)

func (*RoleEnumerateResponse) MarshalToSizedBuffer added in v1.2.1

func (m *RoleEnumerateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RoleEnumerateResponse) ProtoMessage added in v1.2.1

func (*RoleEnumerateResponse) ProtoMessage()

func (*RoleEnumerateResponse) Reset added in v1.2.1

func (m *RoleEnumerateResponse) Reset()

func (*RoleEnumerateResponse) Size added in v1.2.1

func (m *RoleEnumerateResponse) Size() (n int)

func (*RoleEnumerateResponse) String added in v1.2.1

func (m *RoleEnumerateResponse) String() string

func (*RoleEnumerateResponse) Unmarshal added in v1.2.1

func (m *RoleEnumerateResponse) Unmarshal(dAtA []byte) error

func (*RoleEnumerateResponse) XXX_DiscardUnknown added in v1.2.1

func (m *RoleEnumerateResponse) XXX_DiscardUnknown()

func (*RoleEnumerateResponse) XXX_Marshal added in v1.2.1

func (m *RoleEnumerateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RoleEnumerateResponse) XXX_Merge added in v1.2.1

func (m *RoleEnumerateResponse) XXX_Merge(src proto.Message)

func (*RoleEnumerateResponse) XXX_Size added in v1.2.1

func (m *RoleEnumerateResponse) XXX_Size() int

func (*RoleEnumerateResponse) XXX_Unmarshal added in v1.2.1

func (m *RoleEnumerateResponse) XXX_Unmarshal(b []byte) error

type RoleInspectRequest added in v1.2.1

type RoleInspectRequest struct {
	OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
	Name  string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Uid   string `protobuf:"bytes,3,opt,name=uid,proto3" json:"uid,omitempty"`
}

Define RoleInspectRequest struct

func NewPopulatedRoleInspectRequest added in v1.2.1

func NewPopulatedRoleInspectRequest(r randyApi, easy bool) *RoleInspectRequest

func (*RoleInspectRequest) Descriptor added in v1.2.1

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

func (*RoleInspectRequest) Equal added in v1.2.1

func (this *RoleInspectRequest) Equal(that interface{}) bool

func (*RoleInspectRequest) GetName added in v1.2.1

func (m *RoleInspectRequest) GetName() string

func (*RoleInspectRequest) GetOrgId added in v1.2.1

func (m *RoleInspectRequest) GetOrgId() string

func (*RoleInspectRequest) GetUid added in v1.2.1

func (m *RoleInspectRequest) GetUid() string

func (*RoleInspectRequest) Marshal added in v1.2.1

func (m *RoleInspectRequest) Marshal() (dAtA []byte, err error)

func (*RoleInspectRequest) MarshalTo added in v1.2.1

func (m *RoleInspectRequest) MarshalTo(dAtA []byte) (int, error)

func (*RoleInspectRequest) MarshalToSizedBuffer added in v1.2.1

func (m *RoleInspectRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RoleInspectRequest) ProtoMessage added in v1.2.1

func (*RoleInspectRequest) ProtoMessage()

func (*RoleInspectRequest) Reset added in v1.2.1

func (m *RoleInspectRequest) Reset()

func (*RoleInspectRequest) Size added in v1.2.1

func (m *RoleInspectRequest) Size() (n int)

func (*RoleInspectRequest) String added in v1.2.1

func (m *RoleInspectRequest) String() string

func (*RoleInspectRequest) Unmarshal added in v1.2.1

func (m *RoleInspectRequest) Unmarshal(dAtA []byte) error

func (*RoleInspectRequest) XXX_DiscardUnknown added in v1.2.1

func (m *RoleInspectRequest) XXX_DiscardUnknown()

func (*RoleInspectRequest) XXX_Marshal added in v1.2.1

func (m *RoleInspectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RoleInspectRequest) XXX_Merge added in v1.2.1

func (m *RoleInspectRequest) XXX_Merge(src proto.Message)

func (*RoleInspectRequest) XXX_Size added in v1.2.1

func (m *RoleInspectRequest) XXX_Size() int

func (*RoleInspectRequest) XXX_Unmarshal added in v1.2.1

func (m *RoleInspectRequest) XXX_Unmarshal(b []byte) error

type RoleInspectResponse added in v1.2.1

type RoleInspectResponse struct {
	Role *RoleObject `protobuf:"bytes,1,opt,name=role,proto3" json:"role,omitempty"`
}

Define RoleInspectResponse struct

func NewPopulatedRoleInspectResponse added in v1.2.1

func NewPopulatedRoleInspectResponse(r randyApi, easy bool) *RoleInspectResponse

func (*RoleInspectResponse) Descriptor added in v1.2.1

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

func (*RoleInspectResponse) Equal added in v1.2.1

func (this *RoleInspectResponse) Equal(that interface{}) bool

func (*RoleInspectResponse) GetRole added in v1.2.1

func (m *RoleInspectResponse) GetRole() *RoleObject

func (*RoleInspectResponse) Marshal added in v1.2.1

func (m *RoleInspectResponse) Marshal() (dAtA []byte, err error)

func (*RoleInspectResponse) MarshalTo added in v1.2.1

func (m *RoleInspectResponse) MarshalTo(dAtA []byte) (int, error)

func (*RoleInspectResponse) MarshalToSizedBuffer added in v1.2.1

func (m *RoleInspectResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RoleInspectResponse) ProtoMessage added in v1.2.1

func (*RoleInspectResponse) ProtoMessage()

func (*RoleInspectResponse) Reset added in v1.2.1

func (m *RoleInspectResponse) Reset()

func (*RoleInspectResponse) Size added in v1.2.1

func (m *RoleInspectResponse) Size() (n int)

func (*RoleInspectResponse) String added in v1.2.1

func (m *RoleInspectResponse) String() string

func (*RoleInspectResponse) Unmarshal added in v1.2.1

func (m *RoleInspectResponse) Unmarshal(dAtA []byte) error

func (*RoleInspectResponse) XXX_DiscardUnknown added in v1.2.1

func (m *RoleInspectResponse) XXX_DiscardUnknown()

func (*RoleInspectResponse) XXX_Marshal added in v1.2.1

func (m *RoleInspectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RoleInspectResponse) XXX_Merge added in v1.2.1

func (m *RoleInspectResponse) XXX_Merge(src proto.Message)

func (*RoleInspectResponse) XXX_Size added in v1.2.1

func (m *RoleInspectResponse) XXX_Size() int

func (*RoleInspectResponse) XXX_Unmarshal added in v1.2.1

func (m *RoleInspectResponse) XXX_Unmarshal(b []byte) error

type RoleObject added in v1.2.1

type RoleObject struct {
	// Metadata of the object
	*Metadata `protobuf:"bytes,1,opt,name=metadata,proto3,embedded=metadata" json:"metadata,omitempty"`
	// RoleConfig associated with role object
	Rules []*RoleConfig `protobuf:"bytes,2,rep,name=rules,proto3" json:"rules,omitempty"`
	// Keyclock UID associated with role
	RoleId string `protobuf:"bytes,3,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"`
}

Defines a RoleObject object.

func NewPopulatedRoleObject added in v1.2.1

func NewPopulatedRoleObject(r randyApi, easy bool) *RoleObject

func (*RoleObject) Descriptor added in v1.2.1

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

func (*RoleObject) Equal added in v1.2.1

func (this *RoleObject) Equal(that interface{}) bool

func (*RoleObject) GetRoleId added in v1.2.1

func (m *RoleObject) GetRoleId() string

func (*RoleObject) GetRules added in v1.2.1

func (m *RoleObject) GetRules() []*RoleConfig

func (*RoleObject) Marshal added in v1.2.1

func (m *RoleObject) Marshal() (dAtA []byte, err error)

func (*RoleObject) MarshalTo added in v1.2.1

func (m *RoleObject) MarshalTo(dAtA []byte) (int, error)

func (*RoleObject) MarshalToSizedBuffer added in v1.2.1

func (m *RoleObject) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RoleObject) ProtoMessage added in v1.2.1

func (*RoleObject) ProtoMessage()

func (*RoleObject) Reset added in v1.2.1

func (m *RoleObject) Reset()

func (*RoleObject) Size added in v1.2.1

func (m *RoleObject) Size() (n int)

func (*RoleObject) String added in v1.2.1

func (m *RoleObject) String() string

func (*RoleObject) Unmarshal added in v1.2.1

func (m *RoleObject) Unmarshal(dAtA []byte) error

func (*RoleObject) XXX_DiscardUnknown added in v1.2.1

func (m *RoleObject) XXX_DiscardUnknown()

func (*RoleObject) XXX_Marshal added in v1.2.1

func (m *RoleObject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RoleObject) XXX_Merge added in v1.2.1

func (m *RoleObject) XXX_Merge(src proto.Message)

func (*RoleObject) XXX_Size added in v1.2.1

func (m *RoleObject) XXX_Size() int

func (*RoleObject) XXX_Unmarshal added in v1.2.1

func (m *RoleObject) XXX_Unmarshal(b []byte) error

type RolePermissionRequest added in v1.2.1

type RolePermissionRequest struct {
	OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
}

Define RolePermissionRequest struct

func NewPopulatedRolePermissionRequest added in v1.2.1

func NewPopulatedRolePermissionRequest(r randyApi, easy bool) *RolePermissionRequest

func (*RolePermissionRequest) Descriptor added in v1.2.1

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

func (*RolePermissionRequest) Equal added in v1.2.1

func (this *RolePermissionRequest) Equal(that interface{}) bool

func (*RolePermissionRequest) GetOrgId added in v1.2.1

func (m *RolePermissionRequest) GetOrgId() string

func (*RolePermissionRequest) Marshal added in v1.2.1

func (m *RolePermissionRequest) Marshal() (dAtA []byte, err error)

func (*RolePermissionRequest) MarshalTo added in v1.2.1

func (m *RolePermissionRequest) MarshalTo(dAtA []byte) (int, error)

func (*RolePermissionRequest) MarshalToSizedBuffer added in v1.2.1

func (m *RolePermissionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RolePermissionRequest) ProtoMessage added in v1.2.1

func (*RolePermissionRequest) ProtoMessage()

func (*RolePermissionRequest) Reset added in v1.2.1

func (m *RolePermissionRequest) Reset()

func (*RolePermissionRequest) Size added in v1.2.1

func (m *RolePermissionRequest) Size() (n int)

func (*RolePermissionRequest) String added in v1.2.1

func (m *RolePermissionRequest) String() string

func (*RolePermissionRequest) Unmarshal added in v1.2.1

func (m *RolePermissionRequest) Unmarshal(dAtA []byte) error

func (*RolePermissionRequest) XXX_DiscardUnknown added in v1.2.1

func (m *RolePermissionRequest) XXX_DiscardUnknown()

func (*RolePermissionRequest) XXX_Marshal added in v1.2.1

func (m *RolePermissionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RolePermissionRequest) XXX_Merge added in v1.2.1

func (m *RolePermissionRequest) XXX_Merge(src proto.Message)

func (*RolePermissionRequest) XXX_Size added in v1.2.1

func (m *RolePermissionRequest) XXX_Size() int

func (*RolePermissionRequest) XXX_Unmarshal added in v1.2.1

func (m *RolePermissionRequest) XXX_Unmarshal(b []byte) error

type RolePermissionResponse added in v1.2.1

type RolePermissionResponse struct {
	Rules map[string]*Permission `` /* 151-byte string literal not displayed */
}

Define RolePermissionResponse struct

func NewPopulatedRolePermissionResponse added in v1.2.1

func NewPopulatedRolePermissionResponse(r randyApi, easy bool) *RolePermissionResponse

func (*RolePermissionResponse) Descriptor added in v1.2.1

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

func (*RolePermissionResponse) Equal added in v1.2.1

func (this *RolePermissionResponse) Equal(that interface{}) bool

func (*RolePermissionResponse) GetRules added in v1.2.1

func (m *RolePermissionResponse) GetRules() map[string]*Permission

func (*RolePermissionResponse) Marshal added in v1.2.1

func (m *RolePermissionResponse) Marshal() (dAtA []byte, err error)

func (*RolePermissionResponse) MarshalTo added in v1.2.1

func (m *RolePermissionResponse) MarshalTo(dAtA []byte) (int, error)

func (*RolePermissionResponse) MarshalToSizedBuffer added in v1.2.1

func (m *RolePermissionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RolePermissionResponse) ProtoMessage added in v1.2.1

func (*RolePermissionResponse) ProtoMessage()

func (*RolePermissionResponse) Reset added in v1.2.1

func (m *RolePermissionResponse) Reset()

func (*RolePermissionResponse) Size added in v1.2.1

func (m *RolePermissionResponse) Size() (n int)

func (*RolePermissionResponse) String added in v1.2.1

func (m *RolePermissionResponse) String() string

func (*RolePermissionResponse) Unmarshal added in v1.2.1

func (m *RolePermissionResponse) Unmarshal(dAtA []byte) error

func (*RolePermissionResponse) XXX_DiscardUnknown added in v1.2.1

func (m *RolePermissionResponse) XXX_DiscardUnknown()

func (*RolePermissionResponse) XXX_Marshal added in v1.2.1

func (m *RolePermissionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RolePermissionResponse) XXX_Merge added in v1.2.1

func (m *RolePermissionResponse) XXX_Merge(src proto.Message)

func (*RolePermissionResponse) XXX_Size added in v1.2.1

func (m *RolePermissionResponse) XXX_Size() int

func (*RolePermissionResponse) XXX_Unmarshal added in v1.2.1

func (m *RolePermissionResponse) XXX_Unmarshal(b []byte) error

type RoleServer added in v1.2.1

type RoleServer interface {
	// Create creates new role object in datastore
	Create(context.Context, *RoleCreateRequest) (*RoleCreateResponse, error)
	// Enumerate returns a list of roles object
	Enumerate(context.Context, *RoleEnumerateRequest) (*RoleEnumerateResponse, error)
	// Inspect returns detailed information about requested role object
	Inspect(context.Context, *RoleInspectRequest) (*RoleInspectResponse, error)
	// Update given role information
	Update(context.Context, *RoleUpdateRequest) (*RoleUpdateResponse, error)
	// Delete removes given role from px-backup
	Delete(context.Context, *RoleDeleteRequest) (*RoleDeleteResponse, error)
	// Permission returns list of service,apis permission for given user
	Permission(context.Context, *RolePermissionRequest) (*RolePermissionResponse, error)
}

RoleServer is the server API for Role service.

type RoleUpdateRequest added in v1.2.1

type RoleUpdateRequest struct {
	*CreateMetadata `protobuf:"bytes,1,opt,name=metadata,proto3,embedded=metadata" json:"metadata,omitempty"`
	Rules           []*RoleConfig `protobuf:"bytes,2,rep,name=rules,proto3" json:"rules,omitempty"`
	// Keyclock UID associated with role
	RoleId string `protobuf:"bytes,3,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"`
}

RoleUpdateRequest defines roleobject update structure

func NewPopulatedRoleUpdateRequest added in v1.2.1

func NewPopulatedRoleUpdateRequest(r randyApi, easy bool) *RoleUpdateRequest

func (*RoleUpdateRequest) Descriptor added in v1.2.1

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

func (*RoleUpdateRequest) Equal added in v1.2.1

func (this *RoleUpdateRequest) Equal(that interface{}) bool

func (*RoleUpdateRequest) GetRoleId added in v1.2.1

func (m *RoleUpdateRequest) GetRoleId() string

func (*RoleUpdateRequest) GetRules added in v1.2.1

func (m *RoleUpdateRequest) GetRules() []*RoleConfig

func (*RoleUpdateRequest) Marshal added in v1.2.1

func (m *RoleUpdateRequest) Marshal() (dAtA []byte, err error)

func (*RoleUpdateRequest) MarshalTo added in v1.2.1

func (m *RoleUpdateRequest) MarshalTo(dAtA []byte) (int, error)

func (*RoleUpdateRequest) MarshalToSizedBuffer added in v1.2.1

func (m *RoleUpdateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RoleUpdateRequest) ProtoMessage added in v1.2.1

func (*RoleUpdateRequest) ProtoMessage()

func (*RoleUpdateRequest) Reset added in v1.2.1

func (m *RoleUpdateRequest) Reset()

func (*RoleUpdateRequest) Size added in v1.2.1

func (m *RoleUpdateRequest) Size() (n int)

func (*RoleUpdateRequest) String added in v1.2.1

func (m *RoleUpdateRequest) String() string

func (*RoleUpdateRequest) Unmarshal added in v1.2.1

func (m *RoleUpdateRequest) Unmarshal(dAtA []byte) error

func (*RoleUpdateRequest) XXX_DiscardUnknown added in v1.2.1

func (m *RoleUpdateRequest) XXX_DiscardUnknown()

func (*RoleUpdateRequest) XXX_Marshal added in v1.2.1

func (m *RoleUpdateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RoleUpdateRequest) XXX_Merge added in v1.2.1

func (m *RoleUpdateRequest) XXX_Merge(src proto.Message)

func (*RoleUpdateRequest) XXX_Size added in v1.2.1

func (m *RoleUpdateRequest) XXX_Size() int

func (*RoleUpdateRequest) XXX_Unmarshal added in v1.2.1

func (m *RoleUpdateRequest) XXX_Unmarshal(b []byte) error

type RoleUpdateResponse added in v1.2.1

type RoleUpdateResponse struct {
}

Define RoleUpdateResponse struct

func NewPopulatedRoleUpdateResponse added in v1.2.1

func NewPopulatedRoleUpdateResponse(r randyApi, easy bool) *RoleUpdateResponse

func (*RoleUpdateResponse) Descriptor added in v1.2.1

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

func (*RoleUpdateResponse) Equal added in v1.2.1

func (this *RoleUpdateResponse) Equal(that interface{}) bool

func (*RoleUpdateResponse) Marshal added in v1.2.1

func (m *RoleUpdateResponse) Marshal() (dAtA []byte, err error)

func (*RoleUpdateResponse) MarshalTo added in v1.2.1

func (m *RoleUpdateResponse) MarshalTo(dAtA []byte) (int, error)

func (*RoleUpdateResponse) MarshalToSizedBuffer added in v1.2.1

func (m *RoleUpdateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RoleUpdateResponse) ProtoMessage added in v1.2.1

func (*RoleUpdateResponse) ProtoMessage()

func (*RoleUpdateResponse) Reset added in v1.2.1

func (m *RoleUpdateResponse) Reset()

func (*RoleUpdateResponse) Size added in v1.2.1

func (m *RoleUpdateResponse) Size() (n int)

func (*RoleUpdateResponse) String added in v1.2.1

func (m *RoleUpdateResponse) String() string

func (*RoleUpdateResponse) Unmarshal added in v1.2.1

func (m *RoleUpdateResponse) Unmarshal(dAtA []byte) error

func (*RoleUpdateResponse) XXX_DiscardUnknown added in v1.2.1

func (m *RoleUpdateResponse) XXX_DiscardUnknown()

func (*RoleUpdateResponse) XXX_Marshal added in v1.2.1

func (m *RoleUpdateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RoleUpdateResponse) XXX_Merge added in v1.2.1

func (m *RoleUpdateResponse) XXX_Merge(src proto.Message)

func (*RoleUpdateResponse) XXX_Size added in v1.2.1

func (m *RoleUpdateResponse) XXX_Size() int

func (*RoleUpdateResponse) XXX_Unmarshal added in v1.2.1

func (m *RoleUpdateResponse) XXX_Unmarshal(b []byte) error

type RuleCreateRequest

type RuleCreateRequest struct {
	*CreateMetadata `protobuf:"bytes,1,opt,name=metadata,proto3,embedded=metadata" json:"metadata,omitempty"`
	RulesInfo       *RulesInfo `protobuf:"bytes,2,opt,name=rules_info,json=rulesInfo,proto3" json:"rules_info,omitempty"`
}

Request message for creating rules

func NewPopulatedRuleCreateRequest

func NewPopulatedRuleCreateRequest(r randyApi, easy bool) *RuleCreateRequest

func (*RuleCreateRequest) Descriptor

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

func (*RuleCreateRequest) Equal

func (this *RuleCreateRequest) Equal(that interface{}) bool

func (*RuleCreateRequest) GetRulesInfo

func (m *RuleCreateRequest) GetRulesInfo() *RulesInfo

func (*RuleCreateRequest) Marshal

func (m *RuleCreateRequest) Marshal() (dAtA []byte, err error)

func (*RuleCreateRequest) MarshalTo

func (m *RuleCreateRequest) MarshalTo(dAtA []byte) (int, error)

func (*RuleCreateRequest) MarshalToSizedBuffer

func (m *RuleCreateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RuleCreateRequest) ProtoMessage

func (*RuleCreateRequest) ProtoMessage()

func (*RuleCreateRequest) Reset

func (m *RuleCreateRequest) Reset()

func (*RuleCreateRequest) Size

func (m *RuleCreateRequest) Size() (n int)

func (*RuleCreateRequest) String

func (m *RuleCreateRequest) String() string

func (*RuleCreateRequest) Unmarshal

func (m *RuleCreateRequest) Unmarshal(dAtA []byte) error

func (*RuleCreateRequest) XXX_DiscardUnknown

func (m *RuleCreateRequest) XXX_DiscardUnknown()

func (*RuleCreateRequest) XXX_Marshal

func (m *RuleCreateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RuleCreateRequest) XXX_Merge

func (m *RuleCreateRequest) XXX_Merge(src proto.Message)

func (*RuleCreateRequest) XXX_Size

func (m *RuleCreateRequest) XXX_Size() int

func (*RuleCreateRequest) XXX_Unmarshal

func (m *RuleCreateRequest) XXX_Unmarshal(b []byte) error

type RuleCreateResponse

type RuleCreateResponse struct {
}

func NewPopulatedRuleCreateResponse

func NewPopulatedRuleCreateResponse(r randyApi, easy bool) *RuleCreateResponse

func (*RuleCreateResponse) Descriptor

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

func (*RuleCreateResponse) Equal

func (this *RuleCreateResponse) Equal(that interface{}) bool

func (*RuleCreateResponse) Marshal

func (m *RuleCreateResponse) Marshal() (dAtA []byte, err error)

func (*RuleCreateResponse) MarshalTo

func (m *RuleCreateResponse) MarshalTo(dAtA []byte) (int, error)

func (*RuleCreateResponse) MarshalToSizedBuffer

func (m *RuleCreateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RuleCreateResponse) ProtoMessage

func (*RuleCreateResponse) ProtoMessage()

func (*RuleCreateResponse) Reset

func (m *RuleCreateResponse) Reset()

func (*RuleCreateResponse) Size

func (m *RuleCreateResponse) Size() (n int)

func (*RuleCreateResponse) String

func (m *RuleCreateResponse) String() string

func (*RuleCreateResponse) Unmarshal

func (m *RuleCreateResponse) Unmarshal(dAtA []byte) error

func (*RuleCreateResponse) XXX_DiscardUnknown

func (m *RuleCreateResponse) XXX_DiscardUnknown()

func (*RuleCreateResponse) XXX_Marshal

func (m *RuleCreateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RuleCreateResponse) XXX_Merge

func (m *RuleCreateResponse) XXX_Merge(src proto.Message)

func (*RuleCreateResponse) XXX_Size

func (m *RuleCreateResponse) XXX_Size() int

func (*RuleCreateResponse) XXX_Unmarshal

func (m *RuleCreateResponse) XXX_Unmarshal(b []byte) error

type RuleDeleteRequest

type RuleDeleteRequest struct {
	OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
	Name  string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Uid   string `protobuf:"bytes,3,opt,name=uid,proto3" json:"uid,omitempty"`
}

Define RuleDeleteRequest struct

func NewPopulatedRuleDeleteRequest

func NewPopulatedRuleDeleteRequest(r randyApi, easy bool) *RuleDeleteRequest

func (*RuleDeleteRequest) Descriptor

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

func (*RuleDeleteRequest) Equal

func (this *RuleDeleteRequest) Equal(that interface{}) bool

func (*RuleDeleteRequest) GetName

func (m *RuleDeleteRequest) GetName() string

func (*RuleDeleteRequest) GetOrgId

func (m *RuleDeleteRequest) GetOrgId() string

func (*RuleDeleteRequest) GetUid added in v1.2.1

func (m *RuleDeleteRequest) GetUid() string

func (*RuleDeleteRequest) Marshal

func (m *RuleDeleteRequest) Marshal() (dAtA []byte, err error)

func (*RuleDeleteRequest) MarshalTo

func (m *RuleDeleteRequest) MarshalTo(dAtA []byte) (int, error)

func (*RuleDeleteRequest) MarshalToSizedBuffer

func (m *RuleDeleteRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RuleDeleteRequest) ProtoMessage

func (*RuleDeleteRequest) ProtoMessage()

func (*RuleDeleteRequest) Reset

func (m *RuleDeleteRequest) Reset()

func (*RuleDeleteRequest) Size

func (m *RuleDeleteRequest) Size() (n int)

func (*RuleDeleteRequest) String

func (m *RuleDeleteRequest) String() string

func (*RuleDeleteRequest) Unmarshal

func (m *RuleDeleteRequest) Unmarshal(dAtA []byte) error

func (*RuleDeleteRequest) XXX_DiscardUnknown

func (m *RuleDeleteRequest) XXX_DiscardUnknown()

func (*RuleDeleteRequest) XXX_Marshal

func (m *RuleDeleteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RuleDeleteRequest) XXX_Merge

func (m *RuleDeleteRequest) XXX_Merge(src proto.Message)

func (*RuleDeleteRequest) XXX_Size

func (m *RuleDeleteRequest) XXX_Size() int

func (*RuleDeleteRequest) XXX_Unmarshal

func (m *RuleDeleteRequest) XXX_Unmarshal(b []byte) error

type RuleDeleteResponse

type RuleDeleteResponse struct {
}

Define RuleDeleteResponse struct

func NewPopulatedRuleDeleteResponse

func NewPopulatedRuleDeleteResponse(r randyApi, easy bool) *RuleDeleteResponse

func (*RuleDeleteResponse) Descriptor

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

func (*RuleDeleteResponse) Equal

func (this *RuleDeleteResponse) Equal(that interface{}) bool

func (*RuleDeleteResponse) Marshal

func (m *RuleDeleteResponse) Marshal() (dAtA []byte, err error)

func (*RuleDeleteResponse) MarshalTo

func (m *RuleDeleteResponse) MarshalTo(dAtA []byte) (int, error)

func (*RuleDeleteResponse) MarshalToSizedBuffer

func (m *RuleDeleteResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RuleDeleteResponse) ProtoMessage

func (*RuleDeleteResponse) ProtoMessage()

func (*RuleDeleteResponse) Reset

func (m *RuleDeleteResponse) Reset()

func (*RuleDeleteResponse) Size

func (m *RuleDeleteResponse) Size() (n int)

func (*RuleDeleteResponse) String

func (m *RuleDeleteResponse) String() string

func (*RuleDeleteResponse) Unmarshal

func (m *RuleDeleteResponse) Unmarshal(dAtA []byte) error

func (*RuleDeleteResponse) XXX_DiscardUnknown

func (m *RuleDeleteResponse) XXX_DiscardUnknown()

func (*RuleDeleteResponse) XXX_Marshal

func (m *RuleDeleteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RuleDeleteResponse) XXX_Merge

func (m *RuleDeleteResponse) XXX_Merge(src proto.Message)

func (*RuleDeleteResponse) XXX_Size

func (m *RuleDeleteResponse) XXX_Size() int

func (*RuleDeleteResponse) XXX_Unmarshal

func (m *RuleDeleteResponse) XXX_Unmarshal(b []byte) error

type RuleEnumerateRequest

type RuleEnumerateRequest struct {
	OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
}

Define RuleEnumerateRequest struct

func NewPopulatedRuleEnumerateRequest

func NewPopulatedRuleEnumerateRequest(r randyApi, easy bool) *RuleEnumerateRequest

func (*RuleEnumerateRequest) Descriptor

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

func (*RuleEnumerateRequest) Equal

func (this *RuleEnumerateRequest) Equal(that interface{}) bool

func (*RuleEnumerateRequest) GetOrgId

func (m *RuleEnumerateRequest) GetOrgId() string

func (*RuleEnumerateRequest) Marshal

func (m *RuleEnumerateRequest) Marshal() (dAtA []byte, err error)

func (*RuleEnumerateRequest) MarshalTo

func (m *RuleEnumerateRequest) MarshalTo(dAtA []byte) (int, error)

func (*RuleEnumerateRequest) MarshalToSizedBuffer

func (m *RuleEnumerateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RuleEnumerateRequest) ProtoMessage

func (*RuleEnumerateRequest) ProtoMessage()

func (*RuleEnumerateRequest) Reset

func (m *RuleEnumerateRequest) Reset()

func (*RuleEnumerateRequest) Size

func (m *RuleEnumerateRequest) Size() (n int)

func (*RuleEnumerateRequest) String

func (m *RuleEnumerateRequest) String() string

func (*RuleEnumerateRequest) Unmarshal

func (m *RuleEnumerateRequest) Unmarshal(dAtA []byte) error

func (*RuleEnumerateRequest) XXX_DiscardUnknown

func (m *RuleEnumerateRequest) XXX_DiscardUnknown()

func (*RuleEnumerateRequest) XXX_Marshal

func (m *RuleEnumerateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RuleEnumerateRequest) XXX_Merge

func (m *RuleEnumerateRequest) XXX_Merge(src proto.Message)

func (*RuleEnumerateRequest) XXX_Size

func (m *RuleEnumerateRequest) XXX_Size() int

func (*RuleEnumerateRequest) XXX_Unmarshal

func (m *RuleEnumerateRequest) XXX_Unmarshal(b []byte) error

type RuleEnumerateResponse

type RuleEnumerateResponse struct {
	Rules []*RuleObject `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"`
}

Define RuleEnumerateResponse struct

func NewPopulatedRuleEnumerateResponse

func NewPopulatedRuleEnumerateResponse(r randyApi, easy bool) *RuleEnumerateResponse

func (*RuleEnumerateResponse) Descriptor

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

func (*RuleEnumerateResponse) Equal

func (this *RuleEnumerateResponse) Equal(that interface{}) bool

func (*RuleEnumerateResponse) GetRules

func (m *RuleEnumerateResponse) GetRules() []*RuleObject

func (*RuleEnumerateResponse) Marshal

func (m *RuleEnumerateResponse) Marshal() (dAtA []byte, err error)

func (*RuleEnumerateResponse) MarshalTo

func (m *RuleEnumerateResponse) MarshalTo(dAtA []byte) (int, error)

func (*RuleEnumerateResponse) MarshalToSizedBuffer

func (m *RuleEnumerateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RuleEnumerateResponse) ProtoMessage

func (*RuleEnumerateResponse) ProtoMessage()

func (*RuleEnumerateResponse) Reset

func (m *RuleEnumerateResponse) Reset()

func (*RuleEnumerateResponse) Size

func (m *RuleEnumerateResponse) Size() (n int)

func (*RuleEnumerateResponse) String

func (m *RuleEnumerateResponse) String() string

func (*RuleEnumerateResponse) Unmarshal

func (m *RuleEnumerateResponse) Unmarshal(dAtA []byte) error

func (*RuleEnumerateResponse) XXX_DiscardUnknown

func (m *RuleEnumerateResponse) XXX_DiscardUnknown()

func (*RuleEnumerateResponse) XXX_Marshal

func (m *RuleEnumerateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RuleEnumerateResponse) XXX_Merge

func (m *RuleEnumerateResponse) XXX_Merge(src proto.Message)

func (*RuleEnumerateResponse) XXX_Size

func (m *RuleEnumerateResponse) XXX_Size() int

func (*RuleEnumerateResponse) XXX_Unmarshal

func (m *RuleEnumerateResponse) XXX_Unmarshal(b []byte) error

type RuleInspectRequest

type RuleInspectRequest struct {
	OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
	Name  string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Uid   string `protobuf:"bytes,3,opt,name=uid,proto3" json:"uid,omitempty"`
}

Define RuleInspectRequest struct

func NewPopulatedRuleInspectRequest

func NewPopulatedRuleInspectRequest(r randyApi, easy bool) *RuleInspectRequest

func (*RuleInspectRequest) Descriptor

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

func (*RuleInspectRequest) Equal

func (this *RuleInspectRequest) Equal(that interface{}) bool

func (*RuleInspectRequest) GetName

func (m *RuleInspectRequest) GetName() string

func (*RuleInspectRequest) GetOrgId

func (m *RuleInspectRequest) GetOrgId() string

func (*RuleInspectRequest) GetUid added in v1.2.1

func (m *RuleInspectRequest) GetUid() string

func (*RuleInspectRequest) Marshal

func (m *RuleInspectRequest) Marshal() (dAtA []byte, err error)

func (*RuleInspectRequest) MarshalTo

func (m *RuleInspectRequest) MarshalTo(dAtA []byte) (int, error)

func (*RuleInspectRequest) MarshalToSizedBuffer

func (m *RuleInspectRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RuleInspectRequest) ProtoMessage

func (*RuleInspectRequest) ProtoMessage()

func (*RuleInspectRequest) Reset

func (m *RuleInspectRequest) Reset()

func (*RuleInspectRequest) Size

func (m *RuleInspectRequest) Size() (n int)

func (*RuleInspectRequest) String

func (m *RuleInspectRequest) String() string

func (*RuleInspectRequest) Unmarshal

func (m *RuleInspectRequest) Unmarshal(dAtA []byte) error

func (*RuleInspectRequest) XXX_DiscardUnknown

func (m *RuleInspectRequest) XXX_DiscardUnknown()

func (*RuleInspectRequest) XXX_Marshal

func (m *RuleInspectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RuleInspectRequest) XXX_Merge

func (m *RuleInspectRequest) XXX_Merge(src proto.Message)

func (*RuleInspectRequest) XXX_Size

func (m *RuleInspectRequest) XXX_Size() int

func (*RuleInspectRequest) XXX_Unmarshal

func (m *RuleInspectRequest) XXX_Unmarshal(b []byte) error

type RuleInspectResponse

type RuleInspectResponse struct {
	Rule *RuleObject `protobuf:"bytes,1,opt,name=rule,proto3" json:"rule,omitempty"`
}

Define RuleInspectResponse struct

func NewPopulatedRuleInspectResponse

func NewPopulatedRuleInspectResponse(r randyApi, easy bool) *RuleInspectResponse

func (*RuleInspectResponse) Descriptor

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

func (*RuleInspectResponse) Equal

func (this *RuleInspectResponse) Equal(that interface{}) bool

func (*RuleInspectResponse) GetRule

func (m *RuleInspectResponse) GetRule() *RuleObject

func (*RuleInspectResponse) Marshal

func (m *RuleInspectResponse) Marshal() (dAtA []byte, err error)

func (*RuleInspectResponse) MarshalTo

func (m *RuleInspectResponse) MarshalTo(dAtA []byte) (int, error)

func (*RuleInspectResponse) MarshalToSizedBuffer

func (m *RuleInspectResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RuleInspectResponse) ProtoMessage

func (*RuleInspectResponse) ProtoMessage()

func (*RuleInspectResponse) Reset

func (m *RuleInspectResponse) Reset()

func (*RuleInspectResponse) Size

func (m *RuleInspectResponse) Size() (n int)

func (*RuleInspectResponse) String

func (m *RuleInspectResponse) String() string

func (*RuleInspectResponse) Unmarshal

func (m *RuleInspectResponse) Unmarshal(dAtA []byte) error

func (*RuleInspectResponse) XXX_DiscardUnknown

func (m *RuleInspectResponse) XXX_DiscardUnknown()

func (*RuleInspectResponse) XXX_Marshal

func (m *RuleInspectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RuleInspectResponse) XXX_Merge

func (m *RuleInspectResponse) XXX_Merge(src proto.Message)

func (*RuleInspectResponse) XXX_Size

func (m *RuleInspectResponse) XXX_Size() int

func (*RuleInspectResponse) XXX_Unmarshal

func (m *RuleInspectResponse) XXX_Unmarshal(b []byte) error

type RuleObject

type RuleObject struct {
	*Metadata  `protobuf:"bytes,1,opt,name=metadata,proto3,embedded=metadata" json:"metadata,omitempty"`
	*RulesInfo `protobuf:"bytes,2,opt,name=rules_info,json=rulesInfo,proto3,embedded=rules_info" json:"rules_info,omitempty"`
}

func NewPopulatedRuleObject

func NewPopulatedRuleObject(r randyApi, easy bool) *RuleObject

func (*RuleObject) Descriptor

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

func (*RuleObject) Equal

func (this *RuleObject) Equal(that interface{}) bool

func (*RuleObject) Marshal

func (m *RuleObject) Marshal() (dAtA []byte, err error)

func (*RuleObject) MarshalTo

func (m *RuleObject) MarshalTo(dAtA []byte) (int, error)

func (*RuleObject) MarshalToSizedBuffer

func (m *RuleObject) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RuleObject) ProtoMessage

func (*RuleObject) ProtoMessage()

func (*RuleObject) Reset

func (m *RuleObject) Reset()

func (*RuleObject) Size

func (m *RuleObject) Size() (n int)

func (*RuleObject) String

func (m *RuleObject) String() string

func (*RuleObject) Unmarshal

func (m *RuleObject) Unmarshal(dAtA []byte) error

func (*RuleObject) XXX_DiscardUnknown

func (m *RuleObject) XXX_DiscardUnknown()

func (*RuleObject) XXX_Marshal

func (m *RuleObject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RuleObject) XXX_Merge

func (m *RuleObject) XXX_Merge(src proto.Message)

func (*RuleObject) XXX_Size

func (m *RuleObject) XXX_Size() int

func (*RuleObject) XXX_Unmarshal

func (m *RuleObject) XXX_Unmarshal(b []byte) error

type RuleOwnershipUpdateRequest added in v1.2.1

type RuleOwnershipUpdateRequest struct {
	OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
	// Rule to be updated
	Name      string     `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Ownership *Ownership `protobuf:"bytes,3,opt,name=ownership,proto3" json:"ownership,omitempty"`
	Uid       string     `protobuf:"bytes,4,opt,name=uid,proto3" json:"uid,omitempty"`
}

Define RuleOwnershipUpdateRequest struct

func NewPopulatedRuleOwnershipUpdateRequest added in v1.2.1

func NewPopulatedRuleOwnershipUpdateRequest(r randyApi, easy bool) *RuleOwnershipUpdateRequest

func (*RuleOwnershipUpdateRequest) Descriptor added in v1.2.1

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

func (*RuleOwnershipUpdateRequest) Equal added in v1.2.1

func (this *RuleOwnershipUpdateRequest) Equal(that interface{}) bool

func (*RuleOwnershipUpdateRequest) GetName added in v1.2.1

func (m *RuleOwnershipUpdateRequest) GetName() string

func (*RuleOwnershipUpdateRequest) GetOrgId added in v1.2.1

func (m *RuleOwnershipUpdateRequest) GetOrgId() string

func (*RuleOwnershipUpdateRequest) GetOwnership added in v1.2.1

func (m *RuleOwnershipUpdateRequest) GetOwnership() *Ownership

func (*RuleOwnershipUpdateRequest) GetUid added in v1.2.1

func (m *RuleOwnershipUpdateRequest) GetUid() string

func (*RuleOwnershipUpdateRequest) Marshal added in v1.2.1

func (m *RuleOwnershipUpdateRequest) Marshal() (dAtA []byte, err error)

func (*RuleOwnershipUpdateRequest) MarshalTo added in v1.2.1

func (m *RuleOwnershipUpdateRequest) MarshalTo(dAtA []byte) (int, error)

func (*RuleOwnershipUpdateRequest) MarshalToSizedBuffer added in v1.2.1

func (m *RuleOwnershipUpdateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RuleOwnershipUpdateRequest) ProtoMessage added in v1.2.1

func (*RuleOwnershipUpdateRequest) ProtoMessage()

func (*RuleOwnershipUpdateRequest) Reset added in v1.2.1

func (m *RuleOwnershipUpdateRequest) Reset()

func (*RuleOwnershipUpdateRequest) Size added in v1.2.1

func (m *RuleOwnershipUpdateRequest) Size() (n int)

func (*RuleOwnershipUpdateRequest) String added in v1.2.1

func (m *RuleOwnershipUpdateRequest) String() string

func (*RuleOwnershipUpdateRequest) Unmarshal added in v1.2.1

func (m *RuleOwnershipUpdateRequest) Unmarshal(dAtA []byte) error

func (*RuleOwnershipUpdateRequest) XXX_DiscardUnknown added in v1.2.1

func (m *RuleOwnershipUpdateRequest) XXX_DiscardUnknown()

func (*RuleOwnershipUpdateRequest) XXX_Marshal added in v1.2.1

func (m *RuleOwnershipUpdateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RuleOwnershipUpdateRequest) XXX_Merge added in v1.2.1

func (m *RuleOwnershipUpdateRequest) XXX_Merge(src proto.Message)

func (*RuleOwnershipUpdateRequest) XXX_Size added in v1.2.1

func (m *RuleOwnershipUpdateRequest) XXX_Size() int

func (*RuleOwnershipUpdateRequest) XXX_Unmarshal added in v1.2.1

func (m *RuleOwnershipUpdateRequest) XXX_Unmarshal(b []byte) error

type RuleOwnershipUpdateResponse added in v1.2.1

type RuleOwnershipUpdateResponse struct {
}

Define RuleOwnershipUpdateResponse struct

func NewPopulatedRuleOwnershipUpdateResponse added in v1.2.1

func NewPopulatedRuleOwnershipUpdateResponse(r randyApi, easy bool) *RuleOwnershipUpdateResponse

func (*RuleOwnershipUpdateResponse) Descriptor added in v1.2.1

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

func (*RuleOwnershipUpdateResponse) Equal added in v1.2.1

func (this *RuleOwnershipUpdateResponse) Equal(that interface{}) bool

func (*RuleOwnershipUpdateResponse) Marshal added in v1.2.1

func (m *RuleOwnershipUpdateResponse) Marshal() (dAtA []byte, err error)

func (*RuleOwnershipUpdateResponse) MarshalTo added in v1.2.1

func (m *RuleOwnershipUpdateResponse) MarshalTo(dAtA []byte) (int, error)

func (*RuleOwnershipUpdateResponse) MarshalToSizedBuffer added in v1.2.1

func (m *RuleOwnershipUpdateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RuleOwnershipUpdateResponse) ProtoMessage added in v1.2.1

func (*RuleOwnershipUpdateResponse) ProtoMessage()

func (*RuleOwnershipUpdateResponse) Reset added in v1.2.1

func (m *RuleOwnershipUpdateResponse) Reset()

func (*RuleOwnershipUpdateResponse) Size added in v1.2.1

func (m *RuleOwnershipUpdateResponse) Size() (n int)

func (*RuleOwnershipUpdateResponse) String added in v1.2.1

func (m *RuleOwnershipUpdateResponse) String() string

func (*RuleOwnershipUpdateResponse) Unmarshal added in v1.2.1

func (m *RuleOwnershipUpdateResponse) Unmarshal(dAtA []byte) error

func (*RuleOwnershipUpdateResponse) XXX_DiscardUnknown added in v1.2.1

func (m *RuleOwnershipUpdateResponse) XXX_DiscardUnknown()

func (*RuleOwnershipUpdateResponse) XXX_Marshal added in v1.2.1

func (m *RuleOwnershipUpdateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RuleOwnershipUpdateResponse) XXX_Merge added in v1.2.1

func (m *RuleOwnershipUpdateResponse) XXX_Merge(src proto.Message)

func (*RuleOwnershipUpdateResponse) XXX_Size added in v1.2.1

func (m *RuleOwnershipUpdateResponse) XXX_Size() int

func (*RuleOwnershipUpdateResponse) XXX_Unmarshal added in v1.2.1

func (m *RuleOwnershipUpdateResponse) XXX_Unmarshal(b []byte) error

type RuleUpdateRequest

type RuleUpdateRequest struct {
	*CreateMetadata `protobuf:"bytes,1,opt,name=metadata,proto3,embedded=metadata" json:"metadata,omitempty"`
	RulesInfo       *RulesInfo `protobuf:"bytes,2,opt,name=rules_info,json=rulesInfo,proto3" json:"rules_info,omitempty"`
}

func NewPopulatedRuleUpdateRequest

func NewPopulatedRuleUpdateRequest(r randyApi, easy bool) *RuleUpdateRequest

func (*RuleUpdateRequest) Descriptor

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

func (*RuleUpdateRequest) Equal

func (this *RuleUpdateRequest) Equal(that interface{}) bool

func (*RuleUpdateRequest) GetRulesInfo

func (m *RuleUpdateRequest) GetRulesInfo() *RulesInfo

func (*RuleUpdateRequest) Marshal

func (m *RuleUpdateRequest) Marshal() (dAtA []byte, err error)

func (*RuleUpdateRequest) MarshalTo

func (m *RuleUpdateRequest) MarshalTo(dAtA []byte) (int, error)

func (*RuleUpdateRequest) MarshalToSizedBuffer

func (m *RuleUpdateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RuleUpdateRequest) ProtoMessage

func (*RuleUpdateRequest) ProtoMessage()

func (*RuleUpdateRequest) Reset

func (m *RuleUpdateRequest) Reset()

func (*RuleUpdateRequest) Size

func (m *RuleUpdateRequest) Size() (n int)

func (*RuleUpdateRequest) String

func (m *RuleUpdateRequest) String() string

func (*RuleUpdateRequest) Unmarshal

func (m *RuleUpdateRequest) Unmarshal(dAtA []byte) error

func (*RuleUpdateRequest) XXX_DiscardUnknown

func (m *RuleUpdateRequest) XXX_DiscardUnknown()

func (*RuleUpdateRequest) XXX_Marshal

func (m *RuleUpdateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RuleUpdateRequest) XXX_Merge

func (m *RuleUpdateRequest) XXX_Merge(src proto.Message)

func (*RuleUpdateRequest) XXX_Size

func (m *RuleUpdateRequest) XXX_Size() int

func (*RuleUpdateRequest) XXX_Unmarshal

func (m *RuleUpdateRequest) XXX_Unmarshal(b []byte) error

type RuleUpdateResponse

type RuleUpdateResponse struct {
}

Define RuleUpdateResponse struct

func NewPopulatedRuleUpdateResponse

func NewPopulatedRuleUpdateResponse(r randyApi, easy bool) *RuleUpdateResponse

func (*RuleUpdateResponse) Descriptor

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

func (*RuleUpdateResponse) Equal

func (this *RuleUpdateResponse) Equal(that interface{}) bool

func (*RuleUpdateResponse) Marshal

func (m *RuleUpdateResponse) Marshal() (dAtA []byte, err error)

func (*RuleUpdateResponse) MarshalTo

func (m *RuleUpdateResponse) MarshalTo(dAtA []byte) (int, error)

func (*RuleUpdateResponse) MarshalToSizedBuffer

func (m *RuleUpdateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RuleUpdateResponse) ProtoMessage

func (*RuleUpdateResponse) ProtoMessage()

func (*RuleUpdateResponse) Reset

func (m *RuleUpdateResponse) Reset()

func (*RuleUpdateResponse) Size

func (m *RuleUpdateResponse) Size() (n int)

func (*RuleUpdateResponse) String

func (m *RuleUpdateResponse) String() string

func (*RuleUpdateResponse) Unmarshal

func (m *RuleUpdateResponse) Unmarshal(dAtA []byte) error

func (*RuleUpdateResponse) XXX_DiscardUnknown

func (m *RuleUpdateResponse) XXX_DiscardUnknown()

func (*RuleUpdateResponse) XXX_Marshal

func (m *RuleUpdateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RuleUpdateResponse) XXX_Merge

func (m *RuleUpdateResponse) XXX_Merge(src proto.Message)

func (*RuleUpdateResponse) XXX_Size

func (m *RuleUpdateResponse) XXX_Size() int

func (*RuleUpdateResponse) XXX_Unmarshal

func (m *RuleUpdateResponse) XXX_Unmarshal(b []byte) error

type RulesClient

type RulesClient interface {
	// Create creates new rule
	Create(ctx context.Context, in *RuleCreateRequest, opts ...grpc.CallOption) (*RuleCreateResponse, error)
	// Update given rule details
	Update(ctx context.Context, in *RuleUpdateRequest, opts ...grpc.CallOption) (*RuleUpdateResponse, error)
	// Enumerate returns a list of rules
	Enumerate(ctx context.Context, in *RuleEnumerateRequest, opts ...grpc.CallOption) (*RuleEnumerateResponse, error)
	// Inspect returns detailed information about the specified rule
	Inspect(ctx context.Context, in *RuleInspectRequest, opts ...grpc.CallOption) (*RuleInspectResponse, error)
	// Delete removes rule from px-backup
	Delete(ctx context.Context, in *RuleDeleteRequest, opts ...grpc.CallOption) (*RuleDeleteResponse, error)
	// UpdateOwnership updates ownership of existing object
	UpdateOwnership(ctx context.Context, in *RuleOwnershipUpdateRequest, opts ...grpc.CallOption) (*RuleOwnershipUpdateResponse, error)
}

RulesClient is the client API for Rules service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewRulesClient

func NewRulesClient(cc *grpc.ClientConn) RulesClient

type RulesInfo

type RulesInfo struct {
	Rules []*RulesInfo_RuleItem `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty" yaml:"rules"`
}

Message for passing pre and post exec rules for backup

func NewPopulatedRulesInfo

func NewPopulatedRulesInfo(r randyApi, easy bool) *RulesInfo

func (*RulesInfo) Descriptor

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

func (*RulesInfo) Equal

func (this *RulesInfo) Equal(that interface{}) bool

func (*RulesInfo) GetRules

func (m *RulesInfo) GetRules() []*RulesInfo_RuleItem

func (*RulesInfo) Marshal

func (m *RulesInfo) Marshal() (dAtA []byte, err error)

func (*RulesInfo) MarshalTo

func (m *RulesInfo) MarshalTo(dAtA []byte) (int, error)

func (*RulesInfo) MarshalToSizedBuffer

func (m *RulesInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RulesInfo) ProtoMessage

func (*RulesInfo) ProtoMessage()

func (*RulesInfo) Reset

func (m *RulesInfo) Reset()

func (*RulesInfo) Size

func (m *RulesInfo) Size() (n int)

func (*RulesInfo) String

func (m *RulesInfo) String() string

func (*RulesInfo) Unmarshal

func (m *RulesInfo) Unmarshal(dAtA []byte) error

func (*RulesInfo) XXX_DiscardUnknown

func (m *RulesInfo) XXX_DiscardUnknown()

func (*RulesInfo) XXX_Marshal

func (m *RulesInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RulesInfo) XXX_Merge

func (m *RulesInfo) XXX_Merge(src proto.Message)

func (*RulesInfo) XXX_Size

func (m *RulesInfo) XXX_Size() int

func (*RulesInfo) XXX_Unmarshal

func (m *RulesInfo) XXX_Unmarshal(b []byte) error

type RulesInfo_Action

type RulesInfo_Action struct {
	Background     bool   `protobuf:"varint,1,opt,name=background,proto3" json:"background,omitempty" yaml:"background"`
	RunInSinglePod bool   `` /* 130-byte string literal not displayed */
	Value          string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
}

func NewPopulatedRulesInfo_Action

func NewPopulatedRulesInfo_Action(r randyApi, easy bool) *RulesInfo_Action

func (*RulesInfo_Action) Descriptor

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

func (*RulesInfo_Action) Equal

func (this *RulesInfo_Action) Equal(that interface{}) bool

func (*RulesInfo_Action) GetBackground

func (m *RulesInfo_Action) GetBackground() bool

func (*RulesInfo_Action) GetRunInSinglePod

func (m *RulesInfo_Action) GetRunInSinglePod() bool

func (*RulesInfo_Action) GetValue

func (m *RulesInfo_Action) GetValue() string

func (*RulesInfo_Action) Marshal

func (m *RulesInfo_Action) Marshal() (dAtA []byte, err error)

func (*RulesInfo_Action) MarshalTo

func (m *RulesInfo_Action) MarshalTo(dAtA []byte) (int, error)

func (*RulesInfo_Action) MarshalToSizedBuffer

func (m *RulesInfo_Action) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RulesInfo_Action) ProtoMessage

func (*RulesInfo_Action) ProtoMessage()

func (*RulesInfo_Action) Reset

func (m *RulesInfo_Action) Reset()

func (*RulesInfo_Action) Size

func (m *RulesInfo_Action) Size() (n int)

func (*RulesInfo_Action) String

func (m *RulesInfo_Action) String() string

func (*RulesInfo_Action) Unmarshal

func (m *RulesInfo_Action) Unmarshal(dAtA []byte) error

func (*RulesInfo_Action) XXX_DiscardUnknown

func (m *RulesInfo_Action) XXX_DiscardUnknown()

func (*RulesInfo_Action) XXX_Marshal

func (m *RulesInfo_Action) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RulesInfo_Action) XXX_Merge

func (m *RulesInfo_Action) XXX_Merge(src proto.Message)

func (*RulesInfo_Action) XXX_Size

func (m *RulesInfo_Action) XXX_Size() int

func (*RulesInfo_Action) XXX_Unmarshal

func (m *RulesInfo_Action) XXX_Unmarshal(b []byte) error

type RulesInfo_RuleItem

type RulesInfo_RuleItem struct {
	PodSelector map[string]string   `` /* 201-byte string literal not displayed */
	Actions     []*RulesInfo_Action `protobuf:"bytes,2,rep,name=actions,proto3" json:"actions,omitempty" yaml:"actions"`
	Container   string              `protobuf:"bytes,3,opt,name=container,proto3" json:"container,omitempty"`
}

func NewPopulatedRulesInfo_RuleItem

func NewPopulatedRulesInfo_RuleItem(r randyApi, easy bool) *RulesInfo_RuleItem

func (*RulesInfo_RuleItem) Descriptor

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

func (*RulesInfo_RuleItem) Equal

func (this *RulesInfo_RuleItem) Equal(that interface{}) bool

func (*RulesInfo_RuleItem) GetActions

func (m *RulesInfo_RuleItem) GetActions() []*RulesInfo_Action

func (*RulesInfo_RuleItem) GetContainer

func (m *RulesInfo_RuleItem) GetContainer() string

func (*RulesInfo_RuleItem) GetPodSelector

func (m *RulesInfo_RuleItem) GetPodSelector() map[string]string

func (*RulesInfo_RuleItem) Marshal

func (m *RulesInfo_RuleItem) Marshal() (dAtA []byte, err error)

func (*RulesInfo_RuleItem) MarshalTo

func (m *RulesInfo_RuleItem) MarshalTo(dAtA []byte) (int, error)

func (*RulesInfo_RuleItem) MarshalToSizedBuffer

func (m *RulesInfo_RuleItem) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RulesInfo_RuleItem) ProtoMessage

func (*RulesInfo_RuleItem) ProtoMessage()

func (*RulesInfo_RuleItem) Reset

func (m *RulesInfo_RuleItem) Reset()

func (*RulesInfo_RuleItem) Size

func (m *RulesInfo_RuleItem) Size() (n int)

func (*RulesInfo_RuleItem) String

func (m *RulesInfo_RuleItem) String() string

func (*RulesInfo_RuleItem) Unmarshal

func (m *RulesInfo_RuleItem) Unmarshal(dAtA []byte) error

func (*RulesInfo_RuleItem) XXX_DiscardUnknown

func (m *RulesInfo_RuleItem) XXX_DiscardUnknown()

func (*RulesInfo_RuleItem) XXX_Marshal

func (m *RulesInfo_RuleItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RulesInfo_RuleItem) XXX_Merge

func (m *RulesInfo_RuleItem) XXX_Merge(src proto.Message)

func (*RulesInfo_RuleItem) XXX_Size

func (m *RulesInfo_RuleItem) XXX_Size() int

func (*RulesInfo_RuleItem) XXX_Unmarshal

func (m *RulesInfo_RuleItem) XXX_Unmarshal(b []byte) error

type RulesServer

type RulesServer interface {
	// Create creates new rule
	Create(context.Context, *RuleCreateRequest) (*RuleCreateResponse, error)
	// Update given rule details
	Update(context.Context, *RuleUpdateRequest) (*RuleUpdateResponse, error)
	// Enumerate returns a list of rules
	Enumerate(context.Context, *RuleEnumerateRequest) (*RuleEnumerateResponse, error)
	// Inspect returns detailed information about the specified rule
	Inspect(context.Context, *RuleInspectRequest) (*RuleInspectResponse, error)
	// Delete removes rule from px-backup
	Delete(context.Context, *RuleDeleteRequest) (*RuleDeleteResponse, error)
	// UpdateOwnership updates ownership of existing object
	UpdateOwnership(context.Context, *RuleOwnershipUpdateRequest) (*RuleOwnershipUpdateResponse, error)
}

RulesServer is the server API for Rules service.

type S3Config

type S3Config struct {
	Endpoint         string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
	Region           string `protobuf:"bytes,2,opt,name=region,proto3" json:"region,omitempty"`
	DisableSsl       bool   `protobuf:"varint,3,opt,name=disable_ssl,json=disableSsl,proto3" json:"disable_ssl,omitempty"`
	DisablePathStyle bool   `protobuf:"varint,4,opt,name=disable_path_style,json=disablePathStyle,proto3" json:"disable_path_style,omitempty"`
	StorageClass     string `protobuf:"bytes,5,opt,name=storage_class,json=storageClass,proto3" json:"storage_class,omitempty"`
}

func NewPopulatedS3Config

func NewPopulatedS3Config(r randyApi, easy bool) *S3Config

func (*S3Config) Descriptor

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

func (*S3Config) Equal

func (this *S3Config) Equal(that interface{}) bool

func (*S3Config) GetDisablePathStyle

func (m *S3Config) GetDisablePathStyle() bool

func (*S3Config) GetDisableSsl

func (m *S3Config) GetDisableSsl() bool

func (*S3Config) GetEndpoint

func (m *S3Config) GetEndpoint() string

func (*S3Config) GetRegion

func (m *S3Config) GetRegion() string

func (*S3Config) GetStorageClass

func (m *S3Config) GetStorageClass() string

func (*S3Config) Marshal

func (m *S3Config) Marshal() (dAtA []byte, err error)

func (*S3Config) MarshalTo

func (m *S3Config) MarshalTo(dAtA []byte) (int, error)

func (*S3Config) MarshalToSizedBuffer

func (m *S3Config) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*S3Config) ProtoMessage

func (*S3Config) ProtoMessage()

func (*S3Config) Reset

func (m *S3Config) Reset()

func (*S3Config) Size

func (m *S3Config) Size() (n int)

func (*S3Config) String

func (m *S3Config) String() string

func (*S3Config) Unmarshal

func (m *S3Config) Unmarshal(dAtA []byte) error

func (*S3Config) XXX_DiscardUnknown

func (m *S3Config) XXX_DiscardUnknown()

func (*S3Config) XXX_Marshal

func (m *S3Config) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*S3Config) XXX_Merge

func (m *S3Config) XXX_Merge(src proto.Message)

func (*S3Config) XXX_Size

func (m *S3Config) XXX_Size() int

func (*S3Config) XXX_Unmarshal

func (m *S3Config) XXX_Unmarshal(b []byte) error

type SchedulePolicyClient

type SchedulePolicyClient interface {
	// Create creates new schedule policy.
	Create(ctx context.Context, in *SchedulePolicyCreateRequest, opts ...grpc.CallOption) (*SchedulePolicyCreateResponse, error)
	// Update given schedule policy details
	Update(ctx context.Context, in *SchedulePolicyUpdateRequest, opts ...grpc.CallOption) (*SchedulePolicyUpdateResponse, error)
	// Enumerate returns a list of schedule policy
	Enumerate(ctx context.Context, in *SchedulePolicyEnumerateRequest, opts ...grpc.CallOption) (*SchedulePolicyEnumerateResponse, error)
	// Inspect returns detail information about a specified schedule policy
	Inspect(ctx context.Context, in *SchedulePolicyInspectRequest, opts ...grpc.CallOption) (*SchedulePolicyInspectResponse, error)
	// Delete removes a schedule policy
	Delete(ctx context.Context, in *SchedulePolicyDeleteRequest, opts ...grpc.CallOption) (*SchedulePolicyDeleteResponse, error)
	// UpdateOwnership updates ownership of existing object
	UpdateOwnership(ctx context.Context, in *SchedulePolicyOwnershipUpdateRequest, opts ...grpc.CallOption) (*SchedulePolicyOwnershipUpdateResponse, error)
}

SchedulePolicyClient is the client API for SchedulePolicy service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewSchedulePolicyClient

func NewSchedulePolicyClient(cc *grpc.ClientConn) SchedulePolicyClient

type SchedulePolicyCreateRequest

type SchedulePolicyCreateRequest struct {
	*CreateMetadata `protobuf:"bytes,1,opt,name=metadata,proto3,embedded=metadata" json:"metadata,omitempty"`
	SchedulePolicy  *SchedulePolicyInfo `protobuf:"bytes,2,opt,name=schedule_policy,json=schedulePolicy,proto3" json:"schedule_policy,omitempty"`
}

Define SchedulePolicyCreateRequest struct

func NewPopulatedSchedulePolicyCreateRequest

func NewPopulatedSchedulePolicyCreateRequest(r randyApi, easy bool) *SchedulePolicyCreateRequest

func (*SchedulePolicyCreateRequest) Descriptor

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

func (*SchedulePolicyCreateRequest) Equal

func (this *SchedulePolicyCreateRequest) Equal(that interface{}) bool

func (*SchedulePolicyCreateRequest) GetSchedulePolicy

func (m *SchedulePolicyCreateRequest) GetSchedulePolicy() *SchedulePolicyInfo

func (*SchedulePolicyCreateRequest) Marshal

func (m *SchedulePolicyCreateRequest) Marshal() (dAtA []byte, err error)

func (*SchedulePolicyCreateRequest) MarshalTo

func (m *SchedulePolicyCreateRequest) MarshalTo(dAtA []byte) (int, error)

func (*SchedulePolicyCreateRequest) MarshalToSizedBuffer

func (m *SchedulePolicyCreateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SchedulePolicyCreateRequest) ProtoMessage

func (*SchedulePolicyCreateRequest) ProtoMessage()

func (*SchedulePolicyCreateRequest) Reset

func (m *SchedulePolicyCreateRequest) Reset()

func (*SchedulePolicyCreateRequest) Size

func (m *SchedulePolicyCreateRequest) Size() (n int)

func (*SchedulePolicyCreateRequest) String

func (m *SchedulePolicyCreateRequest) String() string

func (*SchedulePolicyCreateRequest) Unmarshal

func (m *SchedulePolicyCreateRequest) Unmarshal(dAtA []byte) error

func (*SchedulePolicyCreateRequest) XXX_DiscardUnknown

func (m *SchedulePolicyCreateRequest) XXX_DiscardUnknown()

func (*SchedulePolicyCreateRequest) XXX_Marshal

func (m *SchedulePolicyCreateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SchedulePolicyCreateRequest) XXX_Merge

func (m *SchedulePolicyCreateRequest) XXX_Merge(src proto.Message)

func (*SchedulePolicyCreateRequest) XXX_Size

func (m *SchedulePolicyCreateRequest) XXX_Size() int

func (*SchedulePolicyCreateRequest) XXX_Unmarshal

func (m *SchedulePolicyCreateRequest) XXX_Unmarshal(b []byte) error

type SchedulePolicyCreateResponse

type SchedulePolicyCreateResponse struct {
}

Define SchedulePolicyCreateResponse struct

func NewPopulatedSchedulePolicyCreateResponse

func NewPopulatedSchedulePolicyCreateResponse(r randyApi, easy bool) *SchedulePolicyCreateResponse

func (*SchedulePolicyCreateResponse) Descriptor

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

func (*SchedulePolicyCreateResponse) Equal

func (this *SchedulePolicyCreateResponse) Equal(that interface{}) bool

func (*SchedulePolicyCreateResponse) Marshal

func (m *SchedulePolicyCreateResponse) Marshal() (dAtA []byte, err error)

func (*SchedulePolicyCreateResponse) MarshalTo

func (m *SchedulePolicyCreateResponse) MarshalTo(dAtA []byte) (int, error)

func (*SchedulePolicyCreateResponse) MarshalToSizedBuffer

func (m *SchedulePolicyCreateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SchedulePolicyCreateResponse) ProtoMessage

func (*SchedulePolicyCreateResponse) ProtoMessage()

func (*SchedulePolicyCreateResponse) Reset

func (m *SchedulePolicyCreateResponse) Reset()

func (*SchedulePolicyCreateResponse) Size

func (m *SchedulePolicyCreateResponse) Size() (n int)

func (*SchedulePolicyCreateResponse) String

func (*SchedulePolicyCreateResponse) Unmarshal

func (m *SchedulePolicyCreateResponse) Unmarshal(dAtA []byte) error

func (*SchedulePolicyCreateResponse) XXX_DiscardUnknown

func (m *SchedulePolicyCreateResponse) XXX_DiscardUnknown()

func (*SchedulePolicyCreateResponse) XXX_Marshal

func (m *SchedulePolicyCreateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SchedulePolicyCreateResponse) XXX_Merge

func (m *SchedulePolicyCreateResponse) XXX_Merge(src proto.Message)

func (*SchedulePolicyCreateResponse) XXX_Size

func (m *SchedulePolicyCreateResponse) XXX_Size() int

func (*SchedulePolicyCreateResponse) XXX_Unmarshal

func (m *SchedulePolicyCreateResponse) XXX_Unmarshal(b []byte) error

type SchedulePolicyDeleteRequest

type SchedulePolicyDeleteRequest struct {
	OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
	Name  string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Uid   string `protobuf:"bytes,3,opt,name=uid,proto3" json:"uid,omitempty"`
}

Define SchedulePolicyDeleteRequest struct

func NewPopulatedSchedulePolicyDeleteRequest

func NewPopulatedSchedulePolicyDeleteRequest(r randyApi, easy bool) *SchedulePolicyDeleteRequest

func (*SchedulePolicyDeleteRequest) Descriptor

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

func (*SchedulePolicyDeleteRequest) Equal

func (this *SchedulePolicyDeleteRequest) Equal(that interface{}) bool

func (*SchedulePolicyDeleteRequest) GetName

func (m *SchedulePolicyDeleteRequest) GetName() string

func (*SchedulePolicyDeleteRequest) GetOrgId

func (m *SchedulePolicyDeleteRequest) GetOrgId() string

func (*SchedulePolicyDeleteRequest) GetUid added in v1.2.1

func (m *SchedulePolicyDeleteRequest) GetUid() string

func (*SchedulePolicyDeleteRequest) Marshal

func (m *SchedulePolicyDeleteRequest) Marshal() (dAtA []byte, err error)

func (*SchedulePolicyDeleteRequest) MarshalTo

func (m *SchedulePolicyDeleteRequest) MarshalTo(dAtA []byte) (int, error)

func (*SchedulePolicyDeleteRequest) MarshalToSizedBuffer

func (m *SchedulePolicyDeleteRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SchedulePolicyDeleteRequest) ProtoMessage

func (*SchedulePolicyDeleteRequest) ProtoMessage()

func (*SchedulePolicyDeleteRequest) Reset

func (m *SchedulePolicyDeleteRequest) Reset()

func (*SchedulePolicyDeleteRequest) Size

func (m *SchedulePolicyDeleteRequest) Size() (n int)

func (*SchedulePolicyDeleteRequest) String

func (m *SchedulePolicyDeleteRequest) String() string

func (*SchedulePolicyDeleteRequest) Unmarshal

func (m *SchedulePolicyDeleteRequest) Unmarshal(dAtA []byte) error

func (*SchedulePolicyDeleteRequest) XXX_DiscardUnknown

func (m *SchedulePolicyDeleteRequest) XXX_DiscardUnknown()

func (*SchedulePolicyDeleteRequest) XXX_Marshal

func (m *SchedulePolicyDeleteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SchedulePolicyDeleteRequest) XXX_Merge

func (m *SchedulePolicyDeleteRequest) XXX_Merge(src proto.Message)

func (*SchedulePolicyDeleteRequest) XXX_Size

func (m *SchedulePolicyDeleteRequest) XXX_Size() int

func (*SchedulePolicyDeleteRequest) XXX_Unmarshal

func (m *SchedulePolicyDeleteRequest) XXX_Unmarshal(b []byte) error

type SchedulePolicyDeleteResponse

type SchedulePolicyDeleteResponse struct {
}

Define SchedulePolicyDeleteResponse struct

func NewPopulatedSchedulePolicyDeleteResponse

func NewPopulatedSchedulePolicyDeleteResponse(r randyApi, easy bool) *SchedulePolicyDeleteResponse

func (*SchedulePolicyDeleteResponse) Descriptor

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

func (*SchedulePolicyDeleteResponse) Equal

func (this *SchedulePolicyDeleteResponse) Equal(that interface{}) bool

func (*SchedulePolicyDeleteResponse) Marshal

func (m *SchedulePolicyDeleteResponse) Marshal() (dAtA []byte, err error)

func (*SchedulePolicyDeleteResponse) MarshalTo

func (m *SchedulePolicyDeleteResponse) MarshalTo(dAtA []byte) (int, error)

func (*SchedulePolicyDeleteResponse) MarshalToSizedBuffer

func (m *SchedulePolicyDeleteResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SchedulePolicyDeleteResponse) ProtoMessage

func (*SchedulePolicyDeleteResponse) ProtoMessage()

func (*SchedulePolicyDeleteResponse) Reset

func (m *SchedulePolicyDeleteResponse) Reset()

func (*SchedulePolicyDeleteResponse) Size

func (m *SchedulePolicyDeleteResponse) Size() (n int)

func (*SchedulePolicyDeleteResponse) String

func (*SchedulePolicyDeleteResponse) Unmarshal

func (m *SchedulePolicyDeleteResponse) Unmarshal(dAtA []byte) error

func (*SchedulePolicyDeleteResponse) XXX_DiscardUnknown

func (m *SchedulePolicyDeleteResponse) XXX_DiscardUnknown()

func (*SchedulePolicyDeleteResponse) XXX_Marshal

func (m *SchedulePolicyDeleteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SchedulePolicyDeleteResponse) XXX_Merge

func (m *SchedulePolicyDeleteResponse) XXX_Merge(src proto.Message)

func (*SchedulePolicyDeleteResponse) XXX_Size

func (m *SchedulePolicyDeleteResponse) XXX_Size() int

func (*SchedulePolicyDeleteResponse) XXX_Unmarshal

func (m *SchedulePolicyDeleteResponse) XXX_Unmarshal(b []byte) error

type SchedulePolicyEnumerateRequest

type SchedulePolicyEnumerateRequest struct {
	OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
	// label selectors for the object for filtering
	Labels map[string]string `` /* 153-byte string literal not displayed */
}

Define SchedulePolicyEnumerateRequest struct

func NewPopulatedSchedulePolicyEnumerateRequest

func NewPopulatedSchedulePolicyEnumerateRequest(r randyApi, easy bool) *SchedulePolicyEnumerateRequest

func (*SchedulePolicyEnumerateRequest) Descriptor

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

func (*SchedulePolicyEnumerateRequest) Equal

func (this *SchedulePolicyEnumerateRequest) Equal(that interface{}) bool

func (*SchedulePolicyEnumerateRequest) GetLabels

func (m *SchedulePolicyEnumerateRequest) GetLabels() map[string]string

func (*SchedulePolicyEnumerateRequest) GetOrgId

func (m *SchedulePolicyEnumerateRequest) GetOrgId() string

func (*SchedulePolicyEnumerateRequest) Marshal

func (m *SchedulePolicyEnumerateRequest) Marshal() (dAtA []byte, err error)

func (*SchedulePolicyEnumerateRequest) MarshalTo

func (m *SchedulePolicyEnumerateRequest) MarshalTo(dAtA []byte) (int, error)

func (*SchedulePolicyEnumerateRequest) MarshalToSizedBuffer

func (m *SchedulePolicyEnumerateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SchedulePolicyEnumerateRequest) ProtoMessage

func (*SchedulePolicyEnumerateRequest) ProtoMessage()

func (*SchedulePolicyEnumerateRequest) Reset

func (m *SchedulePolicyEnumerateRequest) Reset()

func (*SchedulePolicyEnumerateRequest) Size

func (m *SchedulePolicyEnumerateRequest) Size() (n int)

func (*SchedulePolicyEnumerateRequest) String

func (*SchedulePolicyEnumerateRequest) Unmarshal

func (m *SchedulePolicyEnumerateRequest) Unmarshal(dAtA []byte) error

func (*SchedulePolicyEnumerateRequest) XXX_DiscardUnknown

func (m *SchedulePolicyEnumerateRequest) XXX_DiscardUnknown()

func (*SchedulePolicyEnumerateRequest) XXX_Marshal

func (m *SchedulePolicyEnumerateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SchedulePolicyEnumerateRequest) XXX_Merge

func (m *SchedulePolicyEnumerateRequest) XXX_Merge(src proto.Message)

func (*SchedulePolicyEnumerateRequest) XXX_Size

func (m *SchedulePolicyEnumerateRequest) XXX_Size() int

func (*SchedulePolicyEnumerateRequest) XXX_Unmarshal

func (m *SchedulePolicyEnumerateRequest) XXX_Unmarshal(b []byte) error

type SchedulePolicyEnumerateResponse

type SchedulePolicyEnumerateResponse struct {
	SchedulePolicies []*SchedulePolicyObject `protobuf:"bytes,1,rep,name=schedule_policies,json=schedulePolicies,proto3" json:"schedule_policies,omitempty"`
}

Define SchedulePolicyEnumerateResponse struct

func NewPopulatedSchedulePolicyEnumerateResponse

func NewPopulatedSchedulePolicyEnumerateResponse(r randyApi, easy bool) *SchedulePolicyEnumerateResponse

func (*SchedulePolicyEnumerateResponse) Descriptor

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

func (*SchedulePolicyEnumerateResponse) Equal

func (this *SchedulePolicyEnumerateResponse) Equal(that interface{}) bool

func (*SchedulePolicyEnumerateResponse) GetSchedulePolicies

func (m *SchedulePolicyEnumerateResponse) GetSchedulePolicies() []*SchedulePolicyObject

func (*SchedulePolicyEnumerateResponse) Marshal

func (m *SchedulePolicyEnumerateResponse) Marshal() (dAtA []byte, err error)

func (*SchedulePolicyEnumerateResponse) MarshalTo

func (m *SchedulePolicyEnumerateResponse) MarshalTo(dAtA []byte) (int, error)

func (*SchedulePolicyEnumerateResponse) MarshalToSizedBuffer

func (m *SchedulePolicyEnumerateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SchedulePolicyEnumerateResponse) ProtoMessage

func (*SchedulePolicyEnumerateResponse) ProtoMessage()

func (*SchedulePolicyEnumerateResponse) Reset

func (*SchedulePolicyEnumerateResponse) Size

func (m *SchedulePolicyEnumerateResponse) Size() (n int)

func (*SchedulePolicyEnumerateResponse) String

func (*SchedulePolicyEnumerateResponse) Unmarshal

func (m *SchedulePolicyEnumerateResponse) Unmarshal(dAtA []byte) error

func (*SchedulePolicyEnumerateResponse) XXX_DiscardUnknown

func (m *SchedulePolicyEnumerateResponse) XXX_DiscardUnknown()

func (*SchedulePolicyEnumerateResponse) XXX_Marshal

func (m *SchedulePolicyEnumerateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SchedulePolicyEnumerateResponse) XXX_Merge

func (m *SchedulePolicyEnumerateResponse) XXX_Merge(src proto.Message)

func (*SchedulePolicyEnumerateResponse) XXX_Size

func (m *SchedulePolicyEnumerateResponse) XXX_Size() int

func (*SchedulePolicyEnumerateResponse) XXX_Unmarshal

func (m *SchedulePolicyEnumerateResponse) XXX_Unmarshal(b []byte) error

type SchedulePolicyInfo

type SchedulePolicyInfo struct {
	Interval *SchedulePolicyInfo_IntervalPolicy `protobuf:"bytes,1,opt,name=interval,proto3" json:"interval,omitempty"`
	Daily    *SchedulePolicyInfo_DailyPolicy    `protobuf:"bytes,2,opt,name=daily,proto3" json:"daily,omitempty"`
	Weekly   *SchedulePolicyInfo_WeeklyPolicy   `protobuf:"bytes,3,opt,name=weekly,proto3" json:"weekly,omitempty"`
	Monthly  *SchedulePolicyInfo_MonthlyPolicy  `protobuf:"bytes,4,opt,name=monthly,proto3" json:"monthly,omitempty"`
	// list of backup schedule object that uses this schedule policy.
	BackupSchedule []string `protobuf:"bytes,5,rep,name=backup_schedule,json=backupSchedule,proto3" json:"backup_schedule,omitempty"`
}

func NewPopulatedSchedulePolicyInfo

func NewPopulatedSchedulePolicyInfo(r randyApi, easy bool) *SchedulePolicyInfo

func (*SchedulePolicyInfo) Descriptor

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

func (*SchedulePolicyInfo) Equal

func (this *SchedulePolicyInfo) Equal(that interface{}) bool

func (*SchedulePolicyInfo) GetBackupSchedule

func (m *SchedulePolicyInfo) GetBackupSchedule() []string

func (*SchedulePolicyInfo) GetDaily

func (*SchedulePolicyInfo) GetInterval

func (*SchedulePolicyInfo) GetMonthly

func (*SchedulePolicyInfo) GetWeekly

func (*SchedulePolicyInfo) Marshal

func (m *SchedulePolicyInfo) Marshal() (dAtA []byte, err error)

func (*SchedulePolicyInfo) MarshalTo

func (m *SchedulePolicyInfo) MarshalTo(dAtA []byte) (int, error)

func (*SchedulePolicyInfo) MarshalToSizedBuffer

func (m *SchedulePolicyInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SchedulePolicyInfo) ProtoMessage

func (*SchedulePolicyInfo) ProtoMessage()

func (*SchedulePolicyInfo) Reset

func (m *SchedulePolicyInfo) Reset()

func (*SchedulePolicyInfo) Size

func (m *SchedulePolicyInfo) Size() (n int)

func (*SchedulePolicyInfo) String

func (m *SchedulePolicyInfo) String() string

func (*SchedulePolicyInfo) Unmarshal

func (m *SchedulePolicyInfo) Unmarshal(dAtA []byte) error

func (*SchedulePolicyInfo) XXX_DiscardUnknown

func (m *SchedulePolicyInfo) XXX_DiscardUnknown()

func (*SchedulePolicyInfo) XXX_Marshal

func (m *SchedulePolicyInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SchedulePolicyInfo) XXX_Merge

func (m *SchedulePolicyInfo) XXX_Merge(src proto.Message)

func (*SchedulePolicyInfo) XXX_Size

func (m *SchedulePolicyInfo) XXX_Size() int

func (*SchedulePolicyInfo) XXX_Unmarshal

func (m *SchedulePolicyInfo) XXX_Unmarshal(b []byte) error

type SchedulePolicyInfo_DailyPolicy

type SchedulePolicyInfo_DailyPolicy struct {
	// Time, when the policy should be triggered. Expected format is
	// time.Kitchen eg 12:04PM or 12:04pm.
	Time string `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"`
	// Number of objects to retain for daily policy, default value is 10.
	Retain int64 `protobuf:"varint,2,opt,name=retain,proto3" json:"retain,omitempty"`
	// Number of incremental snapshots to take before taking a full
	// snapshot.
	IncrementalCount *SchedulePolicyInfo_IncrementalCount `protobuf:"bytes,3,opt,name=incremental_count,json=incrementalCount,proto3" json:"incremental_count,omitempty"`
}

func NewPopulatedSchedulePolicyInfo_DailyPolicy

func NewPopulatedSchedulePolicyInfo_DailyPolicy(r randyApi, easy bool) *SchedulePolicyInfo_DailyPolicy

func (*SchedulePolicyInfo_DailyPolicy) Descriptor

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

func (*SchedulePolicyInfo_DailyPolicy) Equal

func (this *SchedulePolicyInfo_DailyPolicy) Equal(that interface{}) bool

func (*SchedulePolicyInfo_DailyPolicy) GetIncrementalCount

func (*SchedulePolicyInfo_DailyPolicy) GetRetain

func (m *SchedulePolicyInfo_DailyPolicy) GetRetain() int64

func (*SchedulePolicyInfo_DailyPolicy) GetTime

func (*SchedulePolicyInfo_DailyPolicy) Marshal

func (m *SchedulePolicyInfo_DailyPolicy) Marshal() (dAtA []byte, err error)

func (*SchedulePolicyInfo_DailyPolicy) MarshalTo

func (m *SchedulePolicyInfo_DailyPolicy) MarshalTo(dAtA []byte) (int, error)

func (*SchedulePolicyInfo_DailyPolicy) MarshalToSizedBuffer

func (m *SchedulePolicyInfo_DailyPolicy) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SchedulePolicyInfo_DailyPolicy) ProtoMessage

func (*SchedulePolicyInfo_DailyPolicy) ProtoMessage()

func (*SchedulePolicyInfo_DailyPolicy) Reset

func (m *SchedulePolicyInfo_DailyPolicy) Reset()

func (*SchedulePolicyInfo_DailyPolicy) Size

func (m *SchedulePolicyInfo_DailyPolicy) Size() (n int)

func (*SchedulePolicyInfo_DailyPolicy) String

func (*SchedulePolicyInfo_DailyPolicy) Unmarshal

func (m *SchedulePolicyInfo_DailyPolicy) Unmarshal(dAtA []byte) error

func (*SchedulePolicyInfo_DailyPolicy) XXX_DiscardUnknown

func (m *SchedulePolicyInfo_DailyPolicy) XXX_DiscardUnknown()

func (*SchedulePolicyInfo_DailyPolicy) XXX_Marshal

func (m *SchedulePolicyInfo_DailyPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SchedulePolicyInfo_DailyPolicy) XXX_Merge

func (m *SchedulePolicyInfo_DailyPolicy) XXX_Merge(src proto.Message)

func (*SchedulePolicyInfo_DailyPolicy) XXX_Size

func (m *SchedulePolicyInfo_DailyPolicy) XXX_Size() int

func (*SchedulePolicyInfo_DailyPolicy) XXX_Unmarshal

func (m *SchedulePolicyInfo_DailyPolicy) XXX_Unmarshal(b []byte) error

type SchedulePolicyInfo_IncrementalCount

type SchedulePolicyInfo_IncrementalCount struct {
	Count uint64 `protobuf:"varint,1,opt,name=count,proto3" json:"count"`
}

func NewPopulatedSchedulePolicyInfo_IncrementalCount

func NewPopulatedSchedulePolicyInfo_IncrementalCount(r randyApi, easy bool) *SchedulePolicyInfo_IncrementalCount

func (*SchedulePolicyInfo_IncrementalCount) Descriptor

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

func (*SchedulePolicyInfo_IncrementalCount) Equal

func (this *SchedulePolicyInfo_IncrementalCount) Equal(that interface{}) bool

func (*SchedulePolicyInfo_IncrementalCount) GetCount

func (*SchedulePolicyInfo_IncrementalCount) Marshal

func (m *SchedulePolicyInfo_IncrementalCount) Marshal() (dAtA []byte, err error)

func (*SchedulePolicyInfo_IncrementalCount) MarshalTo

func (m *SchedulePolicyInfo_IncrementalCount) MarshalTo(dAtA []byte) (int, error)

func (*SchedulePolicyInfo_IncrementalCount) MarshalToSizedBuffer

func (m *SchedulePolicyInfo_IncrementalCount) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SchedulePolicyInfo_IncrementalCount) ProtoMessage

func (*SchedulePolicyInfo_IncrementalCount) ProtoMessage()

func (*SchedulePolicyInfo_IncrementalCount) Reset

func (*SchedulePolicyInfo_IncrementalCount) Size

func (*SchedulePolicyInfo_IncrementalCount) String

func (*SchedulePolicyInfo_IncrementalCount) Unmarshal

func (m *SchedulePolicyInfo_IncrementalCount) Unmarshal(dAtA []byte) error

func (*SchedulePolicyInfo_IncrementalCount) XXX_DiscardUnknown

func (m *SchedulePolicyInfo_IncrementalCount) XXX_DiscardUnknown()

func (*SchedulePolicyInfo_IncrementalCount) XXX_Marshal

func (m *SchedulePolicyInfo_IncrementalCount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SchedulePolicyInfo_IncrementalCount) XXX_Merge

func (*SchedulePolicyInfo_IncrementalCount) XXX_Size

func (*SchedulePolicyInfo_IncrementalCount) XXX_Unmarshal

func (m *SchedulePolicyInfo_IncrementalCount) XXX_Unmarshal(b []byte) error

type SchedulePolicyInfo_IntervalPolicy

type SchedulePolicyInfo_IntervalPolicy struct {
	// Interval in minutes at which an action should be triggered.
	Minutes int64 `protobuf:"varint,1,opt,name=minutes,proto3" json:"minutes,omitempty"`
	// Number of objects to retain for interval policy, default value is 10.
	Retain int64 `protobuf:"varint,2,opt,name=retain,proto3" json:"retain,omitempty"`
	// Number of incremental snapshots to take before taking a full
	// snapshot.
	IncrementalCount *SchedulePolicyInfo_IncrementalCount `protobuf:"bytes,3,opt,name=incremental_count,json=incrementalCount,proto3" json:"incremental_count,omitempty"`
}

func NewPopulatedSchedulePolicyInfo_IntervalPolicy

func NewPopulatedSchedulePolicyInfo_IntervalPolicy(r randyApi, easy bool) *SchedulePolicyInfo_IntervalPolicy

func (*SchedulePolicyInfo_IntervalPolicy) Descriptor

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

func (*SchedulePolicyInfo_IntervalPolicy) Equal

func (this *SchedulePolicyInfo_IntervalPolicy) Equal(that interface{}) bool

func (*SchedulePolicyInfo_IntervalPolicy) GetIncrementalCount

func (*SchedulePolicyInfo_IntervalPolicy) GetMinutes

func (m *SchedulePolicyInfo_IntervalPolicy) GetMinutes() int64

func (*SchedulePolicyInfo_IntervalPolicy) GetRetain

func (*SchedulePolicyInfo_IntervalPolicy) Marshal

func (m *SchedulePolicyInfo_IntervalPolicy) Marshal() (dAtA []byte, err error)

func (*SchedulePolicyInfo_IntervalPolicy) MarshalTo

func (m *SchedulePolicyInfo_IntervalPolicy) MarshalTo(dAtA []byte) (int, error)

func (*SchedulePolicyInfo_IntervalPolicy) MarshalToSizedBuffer

func (m *SchedulePolicyInfo_IntervalPolicy) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SchedulePolicyInfo_IntervalPolicy) ProtoMessage

func (*SchedulePolicyInfo_IntervalPolicy) ProtoMessage()

func (*SchedulePolicyInfo_IntervalPolicy) Reset

func (*SchedulePolicyInfo_IntervalPolicy) Size

func (m *SchedulePolicyInfo_IntervalPolicy) Size() (n int)

func (*SchedulePolicyInfo_IntervalPolicy) String

func (*SchedulePolicyInfo_IntervalPolicy) Unmarshal

func (m *SchedulePolicyInfo_IntervalPolicy) Unmarshal(dAtA []byte) error

func (*SchedulePolicyInfo_IntervalPolicy) XXX_DiscardUnknown

func (m *SchedulePolicyInfo_IntervalPolicy) XXX_DiscardUnknown()

func (*SchedulePolicyInfo_IntervalPolicy) XXX_Marshal

func (m *SchedulePolicyInfo_IntervalPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SchedulePolicyInfo_IntervalPolicy) XXX_Merge

func (*SchedulePolicyInfo_IntervalPolicy) XXX_Size

func (m *SchedulePolicyInfo_IntervalPolicy) XXX_Size() int

func (*SchedulePolicyInfo_IntervalPolicy) XXX_Unmarshal

func (m *SchedulePolicyInfo_IntervalPolicy) XXX_Unmarshal(b []byte) error

type SchedulePolicyInfo_MonthlyPolicy

type SchedulePolicyInfo_MonthlyPolicy struct {
	// Date of the month when the policy should be triggered. If a given
	// date
	// doesn't exist in a month it'll rollover to the next date of the
	// month.
	// For example if 31 is specified, it'll trigger on either 1st or 2nd
	// March
	// depending on if it is a leap year.
	Date int64 `protobuf:"varint,1,opt,name=date,proto3" json:"date,omitempty"`
	// Time, when the policy should be triggered. Expected format is
	// time.Kitchen eg 12:04PM or 12:04pm.
	Time string `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"`
	// Number of objects to retain for monthly policy, default value is 10.
	Retain int64 `protobuf:"varint,3,opt,name=retain,proto3" json:"retain,omitempty"`
	// Number of incremental snapshots to take before taking a full
	// snapshot.
	IncrementalCount *SchedulePolicyInfo_IncrementalCount `protobuf:"bytes,4,opt,name=incremental_count,json=incrementalCount,proto3" json:"incremental_count,omitempty"`
}

func NewPopulatedSchedulePolicyInfo_MonthlyPolicy

func NewPopulatedSchedulePolicyInfo_MonthlyPolicy(r randyApi, easy bool) *SchedulePolicyInfo_MonthlyPolicy

func (*SchedulePolicyInfo_MonthlyPolicy) Descriptor

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

func (*SchedulePolicyInfo_MonthlyPolicy) Equal

func (this *SchedulePolicyInfo_MonthlyPolicy) Equal(that interface{}) bool

func (*SchedulePolicyInfo_MonthlyPolicy) GetDate

func (*SchedulePolicyInfo_MonthlyPolicy) GetIncrementalCount

func (*SchedulePolicyInfo_MonthlyPolicy) GetRetain

func (m *SchedulePolicyInfo_MonthlyPolicy) GetRetain() int64

func (*SchedulePolicyInfo_MonthlyPolicy) GetTime

func (*SchedulePolicyInfo_MonthlyPolicy) Marshal

func (m *SchedulePolicyInfo_MonthlyPolicy) Marshal() (dAtA []byte, err error)

func (*SchedulePolicyInfo_MonthlyPolicy) MarshalTo

func (m *SchedulePolicyInfo_MonthlyPolicy) MarshalTo(dAtA []byte) (int, error)

func (*SchedulePolicyInfo_MonthlyPolicy) MarshalToSizedBuffer

func (m *SchedulePolicyInfo_MonthlyPolicy) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SchedulePolicyInfo_MonthlyPolicy) ProtoMessage

func (*SchedulePolicyInfo_MonthlyPolicy) ProtoMessage()

func (*SchedulePolicyInfo_MonthlyPolicy) Reset

func (*SchedulePolicyInfo_MonthlyPolicy) Size

func (m *SchedulePolicyInfo_MonthlyPolicy) Size() (n int)

func (*SchedulePolicyInfo_MonthlyPolicy) String

func (*SchedulePolicyInfo_MonthlyPolicy) Unmarshal

func (m *SchedulePolicyInfo_MonthlyPolicy) Unmarshal(dAtA []byte) error

func (*SchedulePolicyInfo_MonthlyPolicy) XXX_DiscardUnknown

func (m *SchedulePolicyInfo_MonthlyPolicy) XXX_DiscardUnknown()

func (*SchedulePolicyInfo_MonthlyPolicy) XXX_Marshal

func (m *SchedulePolicyInfo_MonthlyPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SchedulePolicyInfo_MonthlyPolicy) XXX_Merge

func (*SchedulePolicyInfo_MonthlyPolicy) XXX_Size

func (m *SchedulePolicyInfo_MonthlyPolicy) XXX_Size() int

func (*SchedulePolicyInfo_MonthlyPolicy) XXX_Unmarshal

func (m *SchedulePolicyInfo_MonthlyPolicy) XXX_Unmarshal(b []byte) error

type SchedulePolicyInfo_WeeklyPolicy

type SchedulePolicyInfo_WeeklyPolicy struct {
	// Day of the week when the policy should be triggered.
	// For example, sunday or sun
	Day string `protobuf:"bytes,1,opt,name=day,proto3" json:"day,omitempty"`
	// Time, when the policy should be triggered. Expected format is
	// time.Kitchen eg 12:04PM or 12:04pm.
	Time string `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"`
	// Number of objects to retain for weekly policy, default value is 10.
	Retain int64 `protobuf:"varint,3,opt,name=retain,proto3" json:"retain,omitempty"`
	// Number of incremental snapshots to take before taking a full
	// snapshot.
	IncrementalCount *SchedulePolicyInfo_IncrementalCount `protobuf:"bytes,4,opt,name=incremental_count,json=incrementalCount,proto3" json:"incremental_count,omitempty"`
}

func NewPopulatedSchedulePolicyInfo_WeeklyPolicy

func NewPopulatedSchedulePolicyInfo_WeeklyPolicy(r randyApi, easy bool) *SchedulePolicyInfo_WeeklyPolicy

func (*SchedulePolicyInfo_WeeklyPolicy) Descriptor

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

func (*SchedulePolicyInfo_WeeklyPolicy) Equal

func (this *SchedulePolicyInfo_WeeklyPolicy) Equal(that interface{}) bool

func (*SchedulePolicyInfo_WeeklyPolicy) GetDay

func (*SchedulePolicyInfo_WeeklyPolicy) GetIncrementalCount

func (*SchedulePolicyInfo_WeeklyPolicy) GetRetain

func (m *SchedulePolicyInfo_WeeklyPolicy) GetRetain() int64

func (*SchedulePolicyInfo_WeeklyPolicy) GetTime

func (*SchedulePolicyInfo_WeeklyPolicy) Marshal

func (m *SchedulePolicyInfo_WeeklyPolicy) Marshal() (dAtA []byte, err error)

func (*SchedulePolicyInfo_WeeklyPolicy) MarshalTo

func (m *SchedulePolicyInfo_WeeklyPolicy) MarshalTo(dAtA []byte) (int, error)

func (*SchedulePolicyInfo_WeeklyPolicy) MarshalToSizedBuffer

func (m *SchedulePolicyInfo_WeeklyPolicy) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SchedulePolicyInfo_WeeklyPolicy) ProtoMessage

func (*SchedulePolicyInfo_WeeklyPolicy) ProtoMessage()

func (*SchedulePolicyInfo_WeeklyPolicy) Reset

func (*SchedulePolicyInfo_WeeklyPolicy) Size

func (m *SchedulePolicyInfo_WeeklyPolicy) Size() (n int)

func (*SchedulePolicyInfo_WeeklyPolicy) String

func (*SchedulePolicyInfo_WeeklyPolicy) Unmarshal

func (m *SchedulePolicyInfo_WeeklyPolicy) Unmarshal(dAtA []byte) error

func (*SchedulePolicyInfo_WeeklyPolicy) XXX_DiscardUnknown

func (m *SchedulePolicyInfo_WeeklyPolicy) XXX_DiscardUnknown()

func (*SchedulePolicyInfo_WeeklyPolicy) XXX_Marshal

func (m *SchedulePolicyInfo_WeeklyPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SchedulePolicyInfo_WeeklyPolicy) XXX_Merge

func (m *SchedulePolicyInfo_WeeklyPolicy) XXX_Merge(src proto.Message)

func (*SchedulePolicyInfo_WeeklyPolicy) XXX_Size

func (m *SchedulePolicyInfo_WeeklyPolicy) XXX_Size() int

func (*SchedulePolicyInfo_WeeklyPolicy) XXX_Unmarshal

func (m *SchedulePolicyInfo_WeeklyPolicy) XXX_Unmarshal(b []byte) error

type SchedulePolicyInspectRequest

type SchedulePolicyInspectRequest struct {
	OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
	Name  string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Uid   string `protobuf:"bytes,3,opt,name=uid,proto3" json:"uid,omitempty"`
}

Define SchedulePolicyInspectRequest struct

func NewPopulatedSchedulePolicyInspectRequest

func NewPopulatedSchedulePolicyInspectRequest(r randyApi, easy bool) *SchedulePolicyInspectRequest

func (*SchedulePolicyInspectRequest) Descriptor

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

func (*SchedulePolicyInspectRequest) Equal

func (this *SchedulePolicyInspectRequest) Equal(that interface{}) bool

func (*SchedulePolicyInspectRequest) GetName

func (m *SchedulePolicyInspectRequest) GetName() string

func (*SchedulePolicyInspectRequest) GetOrgId

func (m *SchedulePolicyInspectRequest) GetOrgId() string

func (*SchedulePolicyInspectRequest) GetUid added in v1.2.1

func (*SchedulePolicyInspectRequest) Marshal

func (m *SchedulePolicyInspectRequest) Marshal() (dAtA []byte, err error)

func (*SchedulePolicyInspectRequest) MarshalTo

func (m *SchedulePolicyInspectRequest) MarshalTo(dAtA []byte) (int, error)

func (*SchedulePolicyInspectRequest) MarshalToSizedBuffer

func (m *SchedulePolicyInspectRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SchedulePolicyInspectRequest) ProtoMessage

func (*SchedulePolicyInspectRequest) ProtoMessage()

func (*SchedulePolicyInspectRequest) Reset

func (m *SchedulePolicyInspectRequest) Reset()

func (*SchedulePolicyInspectRequest) Size

func (m *SchedulePolicyInspectRequest) Size() (n int)

func (*SchedulePolicyInspectRequest) String

func (*SchedulePolicyInspectRequest) Unmarshal

func (m *SchedulePolicyInspectRequest) Unmarshal(dAtA []byte) error

func (*SchedulePolicyInspectRequest) XXX_DiscardUnknown

func (m *SchedulePolicyInspectRequest) XXX_DiscardUnknown()

func (*SchedulePolicyInspectRequest) XXX_Marshal

func (m *SchedulePolicyInspectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SchedulePolicyInspectRequest) XXX_Merge

func (m *SchedulePolicyInspectRequest) XXX_Merge(src proto.Message)

func (*SchedulePolicyInspectRequest) XXX_Size

func (m *SchedulePolicyInspectRequest) XXX_Size() int

func (*SchedulePolicyInspectRequest) XXX_Unmarshal

func (m *SchedulePolicyInspectRequest) XXX_Unmarshal(b []byte) error

type SchedulePolicyInspectResponse

type SchedulePolicyInspectResponse struct {
	SchedulePolicy *SchedulePolicyObject `protobuf:"bytes,1,opt,name=schedule_policy,json=schedulePolicy,proto3" json:"schedule_policy,omitempty"`
}

Define SchedulePolicyInspectResponse struct

func NewPopulatedSchedulePolicyInspectResponse

func NewPopulatedSchedulePolicyInspectResponse(r randyApi, easy bool) *SchedulePolicyInspectResponse

func (*SchedulePolicyInspectResponse) Descriptor

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

func (*SchedulePolicyInspectResponse) Equal

func (this *SchedulePolicyInspectResponse) Equal(that interface{}) bool

func (*SchedulePolicyInspectResponse) GetSchedulePolicy

func (m *SchedulePolicyInspectResponse) GetSchedulePolicy() *SchedulePolicyObject

func (*SchedulePolicyInspectResponse) Marshal

func (m *SchedulePolicyInspectResponse) Marshal() (dAtA []byte, err error)

func (*SchedulePolicyInspectResponse) MarshalTo

func (m *SchedulePolicyInspectResponse) MarshalTo(dAtA []byte) (int, error)

func (*SchedulePolicyInspectResponse) MarshalToSizedBuffer

func (m *SchedulePolicyInspectResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SchedulePolicyInspectResponse) ProtoMessage

func (*SchedulePolicyInspectResponse) ProtoMessage()

func (*SchedulePolicyInspectResponse) Reset

func (m *SchedulePolicyInspectResponse) Reset()

func (*SchedulePolicyInspectResponse) Size

func (m *SchedulePolicyInspectResponse) Size() (n int)

func (*SchedulePolicyInspectResponse) String

func (*SchedulePolicyInspectResponse) Unmarshal

func (m *SchedulePolicyInspectResponse) Unmarshal(dAtA []byte) error

func (*SchedulePolicyInspectResponse) XXX_DiscardUnknown

func (m *SchedulePolicyInspectResponse) XXX_DiscardUnknown()

func (*SchedulePolicyInspectResponse) XXX_Marshal

func (m *SchedulePolicyInspectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SchedulePolicyInspectResponse) XXX_Merge

func (m *SchedulePolicyInspectResponse) XXX_Merge(src proto.Message)

func (*SchedulePolicyInspectResponse) XXX_Size

func (m *SchedulePolicyInspectResponse) XXX_Size() int

func (*SchedulePolicyInspectResponse) XXX_Unmarshal

func (m *SchedulePolicyInspectResponse) XXX_Unmarshal(b []byte) error

type SchedulePolicyObject

type SchedulePolicyObject struct {
	*Metadata           `protobuf:"bytes,1,opt,name=metadata,proto3,embedded=metadata" json:"metadata"`
	*SchedulePolicyInfo `` /* 147-byte string literal not displayed */
}

func NewPopulatedSchedulePolicyObject

func NewPopulatedSchedulePolicyObject(r randyApi, easy bool) *SchedulePolicyObject

func (*SchedulePolicyObject) Descriptor

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

func (*SchedulePolicyObject) Equal

func (this *SchedulePolicyObject) Equal(that interface{}) bool

func (*SchedulePolicyObject) Marshal

func (m *SchedulePolicyObject) Marshal() (dAtA []byte, err error)

func (*SchedulePolicyObject) MarshalTo

func (m *SchedulePolicyObject) MarshalTo(dAtA []byte) (int, error)

func (*SchedulePolicyObject) MarshalToSizedBuffer

func (m *SchedulePolicyObject) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SchedulePolicyObject) ProtoMessage

func (*SchedulePolicyObject) ProtoMessage()

func (*SchedulePolicyObject) Reset

func (m *SchedulePolicyObject) Reset()

func (*SchedulePolicyObject) Size

func (m *SchedulePolicyObject) Size() (n int)

func (*SchedulePolicyObject) String

func (m *SchedulePolicyObject) String() string

func (*SchedulePolicyObject) Unmarshal

func (m *SchedulePolicyObject) Unmarshal(dAtA []byte) error

func (*SchedulePolicyObject) XXX_DiscardUnknown

func (m *SchedulePolicyObject) XXX_DiscardUnknown()

func (*SchedulePolicyObject) XXX_Marshal

func (m *SchedulePolicyObject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SchedulePolicyObject) XXX_Merge

func (m *SchedulePolicyObject) XXX_Merge(src proto.Message)

func (*SchedulePolicyObject) XXX_Size

func (m *SchedulePolicyObject) XXX_Size() int

func (*SchedulePolicyObject) XXX_Unmarshal

func (m *SchedulePolicyObject) XXX_Unmarshal(b []byte) error

type SchedulePolicyOwnershipUpdateRequest added in v1.2.1

type SchedulePolicyOwnershipUpdateRequest struct {
	OrgId     string     `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
	Name      string     `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Ownership *Ownership `protobuf:"bytes,3,opt,name=ownership,proto3" json:"ownership,omitempty"`
	Uid       string     `protobuf:"bytes,4,opt,name=uid,proto3" json:"uid,omitempty"`
}

func NewPopulatedSchedulePolicyOwnershipUpdateRequest added in v1.2.1

func NewPopulatedSchedulePolicyOwnershipUpdateRequest(r randyApi, easy bool) *SchedulePolicyOwnershipUpdateRequest

func (*SchedulePolicyOwnershipUpdateRequest) Descriptor added in v1.2.1

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

func (*SchedulePolicyOwnershipUpdateRequest) Equal added in v1.2.1

func (this *SchedulePolicyOwnershipUpdateRequest) Equal(that interface{}) bool

func (*SchedulePolicyOwnershipUpdateRequest) GetName added in v1.2.1

func (*SchedulePolicyOwnershipUpdateRequest) GetOrgId added in v1.2.1

func (*SchedulePolicyOwnershipUpdateRequest) GetOwnership added in v1.2.1

func (*SchedulePolicyOwnershipUpdateRequest) GetUid added in v1.2.1

func (*SchedulePolicyOwnershipUpdateRequest) Marshal added in v1.2.1

func (m *SchedulePolicyOwnershipUpdateRequest) Marshal() (dAtA []byte, err error)

func (*SchedulePolicyOwnershipUpdateRequest) MarshalTo added in v1.2.1

func (m *SchedulePolicyOwnershipUpdateRequest) MarshalTo(dAtA []byte) (int, error)

func (*SchedulePolicyOwnershipUpdateRequest) MarshalToSizedBuffer added in v1.2.1

func (m *SchedulePolicyOwnershipUpdateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SchedulePolicyOwnershipUpdateRequest) ProtoMessage added in v1.2.1

func (*SchedulePolicyOwnershipUpdateRequest) ProtoMessage()

func (*SchedulePolicyOwnershipUpdateRequest) Reset added in v1.2.1

func (*SchedulePolicyOwnershipUpdateRequest) Size added in v1.2.1

func (*SchedulePolicyOwnershipUpdateRequest) String added in v1.2.1

func (*SchedulePolicyOwnershipUpdateRequest) Unmarshal added in v1.2.1

func (m *SchedulePolicyOwnershipUpdateRequest) Unmarshal(dAtA []byte) error

func (*SchedulePolicyOwnershipUpdateRequest) XXX_DiscardUnknown added in v1.2.1

func (m *SchedulePolicyOwnershipUpdateRequest) XXX_DiscardUnknown()

func (*SchedulePolicyOwnershipUpdateRequest) XXX_Marshal added in v1.2.1

func (m *SchedulePolicyOwnershipUpdateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SchedulePolicyOwnershipUpdateRequest) XXX_Merge added in v1.2.1

func (*SchedulePolicyOwnershipUpdateRequest) XXX_Size added in v1.2.1

func (*SchedulePolicyOwnershipUpdateRequest) XXX_Unmarshal added in v1.2.1

func (m *SchedulePolicyOwnershipUpdateRequest) XXX_Unmarshal(b []byte) error

type SchedulePolicyOwnershipUpdateResponse added in v1.2.1

type SchedulePolicyOwnershipUpdateResponse struct {
}

func NewPopulatedSchedulePolicyOwnershipUpdateResponse added in v1.2.1

func NewPopulatedSchedulePolicyOwnershipUpdateResponse(r randyApi, easy bool) *SchedulePolicyOwnershipUpdateResponse

func (*SchedulePolicyOwnershipUpdateResponse) Descriptor added in v1.2.1

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

func (*SchedulePolicyOwnershipUpdateResponse) Equal added in v1.2.1

func (this *SchedulePolicyOwnershipUpdateResponse) Equal(that interface{}) bool

func (*SchedulePolicyOwnershipUpdateResponse) Marshal added in v1.2.1

func (m *SchedulePolicyOwnershipUpdateResponse) Marshal() (dAtA []byte, err error)

func (*SchedulePolicyOwnershipUpdateResponse) MarshalTo added in v1.2.1

func (m *SchedulePolicyOwnershipUpdateResponse) MarshalTo(dAtA []byte) (int, error)

func (*SchedulePolicyOwnershipUpdateResponse) MarshalToSizedBuffer added in v1.2.1

func (m *SchedulePolicyOwnershipUpdateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SchedulePolicyOwnershipUpdateResponse) ProtoMessage added in v1.2.1

func (*SchedulePolicyOwnershipUpdateResponse) ProtoMessage()

func (*SchedulePolicyOwnershipUpdateResponse) Reset added in v1.2.1

func (*SchedulePolicyOwnershipUpdateResponse) Size added in v1.2.1

func (*SchedulePolicyOwnershipUpdateResponse) String added in v1.2.1

func (*SchedulePolicyOwnershipUpdateResponse) Unmarshal added in v1.2.1

func (m *SchedulePolicyOwnershipUpdateResponse) Unmarshal(dAtA []byte) error

func (*SchedulePolicyOwnershipUpdateResponse) XXX_DiscardUnknown added in v1.2.1

func (m *SchedulePolicyOwnershipUpdateResponse) XXX_DiscardUnknown()

func (*SchedulePolicyOwnershipUpdateResponse) XXX_Marshal added in v1.2.1

func (m *SchedulePolicyOwnershipUpdateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SchedulePolicyOwnershipUpdateResponse) XXX_Merge added in v1.2.1

func (*SchedulePolicyOwnershipUpdateResponse) XXX_Size added in v1.2.1

func (*SchedulePolicyOwnershipUpdateResponse) XXX_Unmarshal added in v1.2.1

func (m *SchedulePolicyOwnershipUpdateResponse) XXX_Unmarshal(b []byte) error

type SchedulePolicyServer

type SchedulePolicyServer interface {
	// Create creates new schedule policy.
	Create(context.Context, *SchedulePolicyCreateRequest) (*SchedulePolicyCreateResponse, error)
	// Update given schedule policy details
	Update(context.Context, *SchedulePolicyUpdateRequest) (*SchedulePolicyUpdateResponse, error)
	// Enumerate returns a list of schedule policy
	Enumerate(context.Context, *SchedulePolicyEnumerateRequest) (*SchedulePolicyEnumerateResponse, error)
	// Inspect returns detail information about a specified schedule policy
	Inspect(context.Context, *SchedulePolicyInspectRequest) (*SchedulePolicyInspectResponse, error)
	// Delete removes a schedule policy
	Delete(context.Context, *SchedulePolicyDeleteRequest) (*SchedulePolicyDeleteResponse, error)
	// UpdateOwnership updates ownership of existing object
	UpdateOwnership(context.Context, *SchedulePolicyOwnershipUpdateRequest) (*SchedulePolicyOwnershipUpdateResponse, error)
}

SchedulePolicyServer is the server API for SchedulePolicy service.

type SchedulePolicyUpdateRequest

type SchedulePolicyUpdateRequest struct {
	*CreateMetadata `protobuf:"bytes,1,opt,name=metadata,proto3,embedded=metadata" json:"metadata,omitempty"`
	SchedulePolicy  *SchedulePolicyInfo `protobuf:"bytes,2,opt,name=schedule_policy,json=schedulePolicy,proto3" json:"schedule_policy,omitempty"`
}

Define SchedulePolicyUpdateRequest struct

func NewPopulatedSchedulePolicyUpdateRequest

func NewPopulatedSchedulePolicyUpdateRequest(r randyApi, easy bool) *SchedulePolicyUpdateRequest

func (*SchedulePolicyUpdateRequest) Descriptor

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

func (*SchedulePolicyUpdateRequest) Equal

func (this *SchedulePolicyUpdateRequest) Equal(that interface{}) bool

func (*SchedulePolicyUpdateRequest) GetSchedulePolicy

func (m *SchedulePolicyUpdateRequest) GetSchedulePolicy() *SchedulePolicyInfo

func (*SchedulePolicyUpdateRequest) Marshal

func (m *SchedulePolicyUpdateRequest) Marshal() (dAtA []byte, err error)

func (*SchedulePolicyUpdateRequest) MarshalTo

func (m *SchedulePolicyUpdateRequest) MarshalTo(dAtA []byte) (int, error)

func (*SchedulePolicyUpdateRequest) MarshalToSizedBuffer

func (m *SchedulePolicyUpdateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SchedulePolicyUpdateRequest) ProtoMessage

func (*SchedulePolicyUpdateRequest) ProtoMessage()

func (*SchedulePolicyUpdateRequest) Reset

func (m *SchedulePolicyUpdateRequest) Reset()

func (*SchedulePolicyUpdateRequest) Size

func (m *SchedulePolicyUpdateRequest) Size() (n int)

func (*SchedulePolicyUpdateRequest) String

func (m *SchedulePolicyUpdateRequest) String() string

func (*SchedulePolicyUpdateRequest) Unmarshal

func (m *SchedulePolicyUpdateRequest) Unmarshal(dAtA []byte) error

func (*SchedulePolicyUpdateRequest) XXX_DiscardUnknown

func (m *SchedulePolicyUpdateRequest) XXX_DiscardUnknown()

func (*SchedulePolicyUpdateRequest) XXX_Marshal

func (m *SchedulePolicyUpdateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SchedulePolicyUpdateRequest) XXX_Merge

func (m *SchedulePolicyUpdateRequest) XXX_Merge(src proto.Message)

func (*SchedulePolicyUpdateRequest) XXX_Size

func (m *SchedulePolicyUpdateRequest) XXX_Size() int

func (*SchedulePolicyUpdateRequest) XXX_Unmarshal

func (m *SchedulePolicyUpdateRequest) XXX_Unmarshal(b []byte) error

type SchedulePolicyUpdateResponse

type SchedulePolicyUpdateResponse struct {
}

Define SchedulePolicyUpdateResponse struct

func NewPopulatedSchedulePolicyUpdateResponse

func NewPopulatedSchedulePolicyUpdateResponse(r randyApi, easy bool) *SchedulePolicyUpdateResponse

func (*SchedulePolicyUpdateResponse) Descriptor

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

func (*SchedulePolicyUpdateResponse) Equal

func (this *SchedulePolicyUpdateResponse) Equal(that interface{}) bool

func (*SchedulePolicyUpdateResponse) Marshal

func (m *SchedulePolicyUpdateResponse) Marshal() (dAtA []byte, err error)

func (*SchedulePolicyUpdateResponse) MarshalTo

func (m *SchedulePolicyUpdateResponse) MarshalTo(dAtA []byte) (int, error)

func (*SchedulePolicyUpdateResponse) MarshalToSizedBuffer

func (m *SchedulePolicyUpdateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SchedulePolicyUpdateResponse) ProtoMessage

func (*SchedulePolicyUpdateResponse) ProtoMessage()

func (*SchedulePolicyUpdateResponse) Reset

func (m *SchedulePolicyUpdateResponse) Reset()

func (*SchedulePolicyUpdateResponse) Size

func (m *SchedulePolicyUpdateResponse) Size() (n int)

func (*SchedulePolicyUpdateResponse) String

func (*SchedulePolicyUpdateResponse) Unmarshal

func (m *SchedulePolicyUpdateResponse) Unmarshal(dAtA []byte) error

func (*SchedulePolicyUpdateResponse) XXX_DiscardUnknown

func (m *SchedulePolicyUpdateResponse) XXX_DiscardUnknown()

func (*SchedulePolicyUpdateResponse) XXX_Marshal

func (m *SchedulePolicyUpdateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SchedulePolicyUpdateResponse) XXX_Merge

func (m *SchedulePolicyUpdateResponse) XXX_Merge(src proto.Message)

func (*SchedulePolicyUpdateResponse) XXX_Size

func (m *SchedulePolicyUpdateResponse) XXX_Size() int

func (*SchedulePolicyUpdateResponse) XXX_Unmarshal

func (m *SchedulePolicyUpdateResponse) XXX_Unmarshal(b []byte) error

type TimeRange

type TimeRange struct {
	StartTime *types.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	EndTime   *types.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
}

func NewPopulatedTimeRange

func NewPopulatedTimeRange(r randyApi, easy bool) *TimeRange

func (*TimeRange) Descriptor

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

func (*TimeRange) Equal

func (this *TimeRange) Equal(that interface{}) bool

func (*TimeRange) GetEndTime

func (m *TimeRange) GetEndTime() *types.Timestamp

func (*TimeRange) GetStartTime

func (m *TimeRange) GetStartTime() *types.Timestamp

func (*TimeRange) Marshal

func (m *TimeRange) Marshal() (dAtA []byte, err error)

func (*TimeRange) MarshalTo

func (m *TimeRange) MarshalTo(dAtA []byte) (int, error)

func (*TimeRange) MarshalToSizedBuffer

func (m *TimeRange) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TimeRange) ProtoMessage

func (*TimeRange) ProtoMessage()

func (*TimeRange) Reset

func (m *TimeRange) Reset()

func (*TimeRange) Size

func (m *TimeRange) Size() (n int)

func (*TimeRange) String

func (m *TimeRange) String() string

func (*TimeRange) Unmarshal

func (m *TimeRange) Unmarshal(dAtA []byte) error

func (*TimeRange) XXX_DiscardUnknown

func (m *TimeRange) XXX_DiscardUnknown()

func (*TimeRange) XXX_Marshal

func (m *TimeRange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TimeRange) XXX_Merge

func (m *TimeRange) XXX_Merge(src proto.Message)

func (*TimeRange) XXX_Size

func (m *TimeRange) XXX_Size() int

func (*TimeRange) XXX_Unmarshal

func (m *TimeRange) XXX_Unmarshal(b []byte) error

type UnimplementedActivityTimeLineServer added in v1.2.1

type UnimplementedActivityTimeLineServer struct {
}

UnimplementedActivityTimeLineServer can be embedded to have forward compatible implementations.

func (*UnimplementedActivityTimeLineServer) Enumerate added in v1.2.1

type UnimplementedBackupLocationServer

type UnimplementedBackupLocationServer struct {
}

UnimplementedBackupLocationServer can be embedded to have forward compatible implementations.

func (*UnimplementedBackupLocationServer) Create

func (*UnimplementedBackupLocationServer) Delete

func (*UnimplementedBackupLocationServer) Enumerate

func (*UnimplementedBackupLocationServer) Inspect

func (*UnimplementedBackupLocationServer) Update

func (*UnimplementedBackupLocationServer) UpdateOwnership added in v1.2.1

func (*UnimplementedBackupLocationServer) Validate

type UnimplementedBackupScheduleServer

type UnimplementedBackupScheduleServer struct {
}

UnimplementedBackupScheduleServer can be embedded to have forward compatible implementations.

func (*UnimplementedBackupScheduleServer) Create

func (*UnimplementedBackupScheduleServer) Delete

func (*UnimplementedBackupScheduleServer) Enumerate

func (*UnimplementedBackupScheduleServer) Inspect

func (*UnimplementedBackupScheduleServer) Update

type UnimplementedBackupServer

type UnimplementedBackupServer struct {
}

UnimplementedBackupServer can be embedded to have forward compatible implementations.

func (*UnimplementedBackupServer) Create

func (*UnimplementedBackupServer) Delete

func (*UnimplementedBackupServer) Enumerate

func (*UnimplementedBackupServer) Inspect

func (*UnimplementedBackupServer) Update

type UnimplementedCloudCredentialServer

type UnimplementedCloudCredentialServer struct {
}

UnimplementedCloudCredentialServer can be embedded to have forward compatible implementations.

func (*UnimplementedCloudCredentialServer) Create

func (*UnimplementedCloudCredentialServer) Delete

func (*UnimplementedCloudCredentialServer) Enumerate

func (*UnimplementedCloudCredentialServer) Inspect

func (*UnimplementedCloudCredentialServer) Update

func (*UnimplementedCloudCredentialServer) UpdateOwnership added in v1.2.1

type UnimplementedClusterServer

type UnimplementedClusterServer struct {
}

UnimplementedClusterServer can be embedded to have forward compatible implementations.

func (*UnimplementedClusterServer) Create

func (*UnimplementedClusterServer) Delete

func (*UnimplementedClusterServer) Enumerate

func (*UnimplementedClusterServer) Inspect

func (*UnimplementedClusterServer) Update

type UnimplementedHealthServer

type UnimplementedHealthServer struct {
}

UnimplementedHealthServer can be embedded to have forward compatible implementations.

func (*UnimplementedHealthServer) Status

type UnimplementedLicenseServer

type UnimplementedLicenseServer struct {
}

UnimplementedLicenseServer can be embedded to have forward compatible implementations.

func (*UnimplementedLicenseServer) Activate

func (*UnimplementedLicenseServer) Inspect

func (*UnimplementedLicenseServer) Update

type UnimplementedMetricsServer

type UnimplementedMetricsServer struct {
}

UnimplementedMetricsServer can be embedded to have forward compatible implementations.

func (*UnimplementedMetricsServer) Inspect

type UnimplementedOrganizationServer

type UnimplementedOrganizationServer struct {
}

UnimplementedOrganizationServer can be embedded to have forward compatible implementations.

func (*UnimplementedOrganizationServer) Create

func (*UnimplementedOrganizationServer) Enumerate

func (*UnimplementedOrganizationServer) Inspect

type UnimplementedRestoreServer

type UnimplementedRestoreServer struct {
}

UnimplementedRestoreServer can be embedded to have forward compatible implementations.

func (*UnimplementedRestoreServer) Create

func (*UnimplementedRestoreServer) Delete

func (*UnimplementedRestoreServer) Enumerate

func (*UnimplementedRestoreServer) Inspect

func (*UnimplementedRestoreServer) Update

type UnimplementedRoleServer added in v1.2.1

type UnimplementedRoleServer struct {
}

UnimplementedRoleServer can be embedded to have forward compatible implementations.

func (*UnimplementedRoleServer) Create added in v1.2.1

func (*UnimplementedRoleServer) Delete added in v1.2.1

func (*UnimplementedRoleServer) Enumerate added in v1.2.1

func (*UnimplementedRoleServer) Inspect added in v1.2.1

func (*UnimplementedRoleServer) Permission added in v1.2.1

func (*UnimplementedRoleServer) Update added in v1.2.1

type UnimplementedRulesServer

type UnimplementedRulesServer struct {
}

UnimplementedRulesServer can be embedded to have forward compatible implementations.

func (*UnimplementedRulesServer) Create

func (*UnimplementedRulesServer) Delete

func (*UnimplementedRulesServer) Enumerate

func (*UnimplementedRulesServer) Inspect

func (*UnimplementedRulesServer) Update

func (*UnimplementedRulesServer) UpdateOwnership added in v1.2.1

type UnimplementedSchedulePolicyServer

type UnimplementedSchedulePolicyServer struct {
}

UnimplementedSchedulePolicyServer can be embedded to have forward compatible implementations.

func (*UnimplementedSchedulePolicyServer) Create

func (*UnimplementedSchedulePolicyServer) Delete

func (*UnimplementedSchedulePolicyServer) Enumerate

func (*UnimplementedSchedulePolicyServer) Inspect

func (*UnimplementedSchedulePolicyServer) Update

func (*UnimplementedSchedulePolicyServer) UpdateOwnership added in v1.2.1

type UnimplementedVersionServer

type UnimplementedVersionServer struct {
}

UnimplementedVersionServer can be embedded to have forward compatible implementations.

func (*UnimplementedVersionServer) Get

type VersionClient

type VersionClient interface {
	// Get gets the version of the server
	Get(ctx context.Context, in *VersionGetRequest, opts ...grpc.CallOption) (*VersionGetResponse, error)
}

VersionClient is the client API for Version service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewVersionClient

func NewVersionClient(cc *grpc.ClientConn) VersionClient

type VersionGetRequest

type VersionGetRequest struct {
}

func NewPopulatedVersionGetRequest

func NewPopulatedVersionGetRequest(r randyApi, easy bool) *VersionGetRequest

func (*VersionGetRequest) Descriptor

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

func (*VersionGetRequest) Equal

func (this *VersionGetRequest) Equal(that interface{}) bool

func (*VersionGetRequest) Marshal

func (m *VersionGetRequest) Marshal() (dAtA []byte, err error)

func (*VersionGetRequest) MarshalTo

func (m *VersionGetRequest) MarshalTo(dAtA []byte) (int, error)

func (*VersionGetRequest) MarshalToSizedBuffer

func (m *VersionGetRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*VersionGetRequest) ProtoMessage

func (*VersionGetRequest) ProtoMessage()

func (*VersionGetRequest) Reset

func (m *VersionGetRequest) Reset()

func (*VersionGetRequest) Size

func (m *VersionGetRequest) Size() (n int)

func (*VersionGetRequest) String

func (m *VersionGetRequest) String() string

func (*VersionGetRequest) Unmarshal

func (m *VersionGetRequest) Unmarshal(dAtA []byte) error

func (*VersionGetRequest) XXX_DiscardUnknown

func (m *VersionGetRequest) XXX_DiscardUnknown()

func (*VersionGetRequest) XXX_Marshal

func (m *VersionGetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VersionGetRequest) XXX_Merge

func (m *VersionGetRequest) XXX_Merge(src proto.Message)

func (*VersionGetRequest) XXX_Size

func (m *VersionGetRequest) XXX_Size() int

func (*VersionGetRequest) XXX_Unmarshal

func (m *VersionGetRequest) XXX_Unmarshal(b []byte) error

type VersionGetResponse

type VersionGetResponse struct {
	// version information of the server
	Version *VersionInfo `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
}

func NewPopulatedVersionGetResponse

func NewPopulatedVersionGetResponse(r randyApi, easy bool) *VersionGetResponse

func (*VersionGetResponse) Descriptor

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

func (*VersionGetResponse) Equal

func (this *VersionGetResponse) Equal(that interface{}) bool

func (*VersionGetResponse) GetVersion

func (m *VersionGetResponse) GetVersion() *VersionInfo

func (*VersionGetResponse) Marshal

func (m *VersionGetResponse) Marshal() (dAtA []byte, err error)

func (*VersionGetResponse) MarshalTo

func (m *VersionGetResponse) MarshalTo(dAtA []byte) (int, error)

func (*VersionGetResponse) MarshalToSizedBuffer

func (m *VersionGetResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*VersionGetResponse) ProtoMessage

func (*VersionGetResponse) ProtoMessage()

func (*VersionGetResponse) Reset

func (m *VersionGetResponse) Reset()

func (*VersionGetResponse) Size

func (m *VersionGetResponse) Size() (n int)

func (*VersionGetResponse) String

func (m *VersionGetResponse) String() string

func (*VersionGetResponse) Unmarshal

func (m *VersionGetResponse) Unmarshal(dAtA []byte) error

func (*VersionGetResponse) XXX_DiscardUnknown

func (m *VersionGetResponse) XXX_DiscardUnknown()

func (*VersionGetResponse) XXX_Marshal

func (m *VersionGetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VersionGetResponse) XXX_Merge

func (m *VersionGetResponse) XXX_Merge(src proto.Message)

func (*VersionGetResponse) XXX_Size

func (m *VersionGetResponse) XXX_Size() int

func (*VersionGetResponse) XXX_Unmarshal

func (m *VersionGetResponse) XXX_Unmarshal(b []byte) error

type VersionInfo

type VersionInfo struct {
	Major     string `protobuf:"bytes,1,opt,name=major,proto3" json:"major,omitempty"`
	Minor     string `protobuf:"bytes,2,opt,name=minor,proto3" json:"minor,omitempty"`
	Patch     string `protobuf:"bytes,3,opt,name=patch,proto3" json:"patch,omitempty"`
	GitCommit string `protobuf:"bytes,4,opt,name=git_commit,json=gitCommit,proto3" json:"git_commit,omitempty"`
	BuildDate string `protobuf:"bytes,5,opt,name=build_date,json=buildDate,proto3" json:"build_date,omitempty"`
}

func NewPopulatedVersionInfo

func NewPopulatedVersionInfo(r randyApi, easy bool) *VersionInfo

func (*VersionInfo) Descriptor

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

func (*VersionInfo) Equal

func (this *VersionInfo) Equal(that interface{}) bool

func (*VersionInfo) GetBuildDate

func (m *VersionInfo) GetBuildDate() string

func (*VersionInfo) GetGitCommit

func (m *VersionInfo) GetGitCommit() string

func (*VersionInfo) GetMajor

func (m *VersionInfo) GetMajor() string

func (*VersionInfo) GetMinor

func (m *VersionInfo) GetMinor() string

func (*VersionInfo) GetPatch

func (m *VersionInfo) GetPatch() string

func (*VersionInfo) Marshal

func (m *VersionInfo) Marshal() (dAtA []byte, err error)

func (*VersionInfo) MarshalTo

func (m *VersionInfo) MarshalTo(dAtA []byte) (int, error)

func (*VersionInfo) MarshalToSizedBuffer

func (m *VersionInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*VersionInfo) ProtoMessage

func (*VersionInfo) ProtoMessage()

func (*VersionInfo) Reset

func (m *VersionInfo) Reset()

func (*VersionInfo) Size

func (m *VersionInfo) Size() (n int)

func (*VersionInfo) String

func (m *VersionInfo) String() string

func (*VersionInfo) Unmarshal

func (m *VersionInfo) Unmarshal(dAtA []byte) error

func (*VersionInfo) XXX_DiscardUnknown

func (m *VersionInfo) XXX_DiscardUnknown()

func (*VersionInfo) XXX_Marshal

func (m *VersionInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VersionInfo) XXX_Merge

func (m *VersionInfo) XXX_Merge(src proto.Message)

func (*VersionInfo) XXX_Size

func (m *VersionInfo) XXX_Size() int

func (*VersionInfo) XXX_Unmarshal

func (m *VersionInfo) XXX_Unmarshal(b []byte) error

type VersionServer

type VersionServer interface {
	// Get gets the version of the server
	Get(context.Context, *VersionGetRequest) (*VersionGetResponse, error)
}

VersionServer is the server API for Version service.

Jump to

Keyboard shortcuts

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